MenuBindingsEditor.GetEditStyle Method (ITypeDescriptorContext)


Gets the editing style that is associated with this editor.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public override UITypeEditorEditStyle GetEditStyle(
	ITypeDescriptorContext context


Type: System.ComponentModel.ITypeDescriptorContext

An object implementing the ITypeDescriptorContext interface that indicates the context of the object being edited.

Return Value

Type: System.Drawing.Design.UITypeEditorEditStyle

The editing style that is associated with this editor.

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 method but is available for you to override in derived classes

.NET Framework
Available since 2.0
Return to top