Επεξεργασία

Κοινή χρήση μέσω


FolderNameEditor.GetEditStyle(ITypeDescriptorContext) Method

Definition

Gets the editing style used by the EditValue(ITypeDescriptorContext, IServiceProvider, Object) method.

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

Parameters

context
ITypeDescriptorContext

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

Returns

A UITypeEditorEditStyle enumeration value indicating the provided editing style.

Remarks

If the EditValue method is not supported, this will return None.

Applies to

See also