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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft