CollectionEditor.GetEditStyle(ITypeDescriptorContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the edit style used by the EditValue(ITypeDescriptorContext, IServiceProvider, Object) method.
public:
override System::Drawing::Design::UITypeEditorEditStyle GetEditStyle(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle (System.ComponentModel.ITypeDescriptorContext context);
public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle (System.ComponentModel.ITypeDescriptorContext? context);
override this.GetEditStyle : System.ComponentModel.ITypeDescriptorContext -> System.Drawing.Design.UITypeEditorEditStyle
Public Overrides Function GetEditStyle (context As ITypeDescriptorContext) As UITypeEditorEditStyle
Parameters
- context
- ITypeDescriptorContext
An ITypeDescriptorContext that can be used to gain additional context information.
Returns
A UITypeEditorEditStyle enumeration value indicating the provided editing style. If the method is not supported in the specified context, this method will return the None identifier.