ImageEditor.GetEditStyle(ITypeDescriptorContext) 方法

定义

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 值之一,指示所支持的编辑样式。

注解

EditValue如果不支持该方法,此方法将返回 None

适用于