DataGridColumnCollectionEditor.GetEditStyle(ITypeDescriptorContext) 方法

定义

使用指定的 ITypeDescriptorContext 对象获取与此编辑器关联的编辑样式。

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

UITypeEditorEditStyle 值,它表示此编辑器的编辑样式。 默认值为 Modal

注解

始终返回值 Modal

适用于

另请参阅