Modifier

Partager via


TypeBrowserEditor.GetEditStyle(ITypeDescriptorContext) Method

Definition

Returns the editor style used by the EditValue method.

public:
 override System::Drawing::Design::UITypeEditorEditStyle GetEditStyle(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext);
public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext);
override this.GetEditStyle : System.ComponentModel.ITypeDescriptorContext -> System.Drawing.Design.UITypeEditorEditStyle
Public Overrides Function GetEditStyle (typeDescriptorContext As ITypeDescriptorContext) As UITypeEditorEditStyle

Parameters

typeDescriptorContext
ITypeDescriptorContext

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

Returns

A UITypeEditorEditStyle value that indicates the style of editor used by EditValue. Unless overridden by an inheriting class, this method returns Modal.

Applies to