BorderSidesEditor.GetEditStyle(ITypeDescriptorContext) 方法

定义

检索 EditValue 方法的编辑样式。

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

参数

context
ITypeDescriptorContext

一个 ITypeDescriptorContext,提供关于控件或组件的信息。

返回

UITypeEditorEditStyle 值之一。 如果不支持该方法,则此方法将返回 None

适用于