Muokkaa

Jaa


MenuBindingsEditor.GetEditStyle(ITypeDescriptorContext) Method

Definition

Gets the editing style that is associated with this editor.

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 object implementing the ITypeDescriptorContext interface that indicates the context of the object being edited.

Returns

The editing style that is associated with this editor.

Remarks

The GetEditStyle method always returns the Modal value, which indicates that the editor user interface (UI) is a modal dialog box.

Notes to Inheritors

The context parameter is not used by this implementation of the GetEditStyle(ITypeDescriptorContext) method but is available for you to override in derived classes

Applies to

See also