GetEditStyle(ITypeDescriptorContext) Method
Gets the editor style used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.
Syntax
public override UITypeEditorEditStyle GetEditStyle( ITypeDescriptorContext context )
public: UITypeEditorEditStyle GetEditStyle( ITypeDescriptorContext^ context ) override
Parameters
- context
- An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.
Return Value
A System.Drawing.Design.UITypeEditorEditStyle value that indicates the style of editor used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method. If the System.Drawing.Design.UITypeEditor does not support this method, then System.Drawing.Design.UITypeEditor.GetEditStyle will return System.Drawing.Design.UITypeEditorEditStyle.None.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also