TreeNodeCollectionEditor.GetEditStyle Method (ITypeDescriptorContext)

 

Retrieves the edit style that is used by the EditValue method.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public override 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 2.0
Return to top
Show: