RegexTypeEditor.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);
override this.GetEditStyle : System.ComponentModel.ITypeDescriptorContext -> System.Drawing.Design.UITypeEditorEditStyle
Public Overrides Function GetEditStyle (context As ITypeDescriptorContext) As UITypeEditorEditStyle

参数

context
ITypeDescriptorContext

可用于获取附加上下文信息的 ITypeDescriptorContext

返回

UITypeEditorEditStyle 值,指示该方法使用的编辑器样式。

适用于

另请参阅