UITypeEditor.GetEditStyle Method (ITypeDescriptorContext)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the editor style used by the EditValue method.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

public virtual UITypeEditorEditStyle GetEditStyle(
	ITypeDescriptorContext context


Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that can be used to gain additional context information.

Return Value

Type: System.Drawing.Design.UITypeEditorEditStyle

A UITypeEditorEditStyle value that indicates the style of editor used by the EditValue method. If the UITypeEditor does not support this method, then GetEditStyle will return None.

.NET Framework
Available since 1.1
Return to top