編輯

共用方式為


ShortcutKeysEditor.GetEditStyle(ITypeDescriptorContext) Method

Definition

Gets the editor style used by the EditValue 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 value that indicates the style of editor used by the EditValue method.

Remarks

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

Applies to