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