Edit

Share via


MenuItemCollectionEditor.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

The ITypeDescriptorContext that indicates the context of the object being edited.

Returns

Always returns Modal.

Remarks

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

The context parameter is not used.

Applies to

See also