UITypeEditor.GetEditStyle Method (ITypeDescriptorContext)

 

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
)

Parameters

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
Show: