共用方式為


ContentAlignmentEditor.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

適用於