Bewerken

Share via


IconEditor.GetEditStyle(ITypeDescriptorContext) Method

Definition

Retrieves the editing style of the EditValue 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

A type descriptor context that can be used to provide additional context information.

Returns

One of the UITypeEditorEditStyle values indicating the provided editing style.

Remarks

If the EditValue method is not supported, the GetEditStyle method will return None.

Applies to