CollectionEditor.GetEditStyle(ITypeDescriptorContext) 方法

定义

获取 EditValue(ITypeDescriptorContext, IServiceProvider, Object) 方法使用的编辑样式。

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 标识符。

适用于