Share via


UITypeEditor.GetEditStyle メソッド

定義

EditValue(IServiceProvider, Object) メソッドで使用するエディター スタイルを取得します。

オーバーロード

GetEditStyle()

EditValue(IServiceProvider, Object) メソッドで使用するエディター スタイルを取得します。

GetEditStyle(ITypeDescriptorContext)

EditValue(IServiceProvider, Object) メソッドで使用するエディター スタイルを取得します。

GetEditStyle()

EditValue(IServiceProvider, Object) メソッドで使用するエディター スタイルを取得します。

public:
 System::Drawing::Design::UITypeEditorEditStyle GetEditStyle();
public System.Drawing.Design.UITypeEditorEditStyle GetEditStyle ();
member this.GetEditStyle : unit -> System.Drawing.Design.UITypeEditorEditStyle
Public Function GetEditStyle () As UITypeEditorEditStyle

戻り値

現在の UITypeEditorEditStyle で使用するエディターのスタイルを示す UITypeEditor 列挙値。 既定では、このメソッドは None を返します。

注釈

がこのメソッドを UITypeEditor オーバーライドして実装しない場合、 GetEditStyle は既定で を返 None します。

こちらもご覧ください

適用対象

GetEditStyle(ITypeDescriptorContext)

EditValue(IServiceProvider, Object) メソッドで使用するエディター スタイルを取得します。

public:
 virtual System::Drawing::Design::UITypeEditorEditStyle GetEditStyle(System::ComponentModel::ITypeDescriptorContext ^ context);
public virtual System.Drawing.Design.UITypeEditorEditStyle GetEditStyle (System.ComponentModel.ITypeDescriptorContext context);
public virtual System.Drawing.Design.UITypeEditorEditStyle GetEditStyle (System.ComponentModel.ITypeDescriptorContext? context);
abstract member GetEditStyle : System.ComponentModel.ITypeDescriptorContext -> System.Drawing.Design.UITypeEditorEditStyle
override this.GetEditStyle : System.ComponentModel.ITypeDescriptorContext -> System.Drawing.Design.UITypeEditorEditStyle
Public Overridable Function GetEditStyle (context As ITypeDescriptorContext) As UITypeEditorEditStyle

パラメーター

context
ITypeDescriptorContext

追加のコンテキスト情報を取得するために使用できる ITypeDescriptorContext

戻り値

EditValue(IServiceProvider, Object) メソッドで使用するエディター スタイルを示す UITypeEditorEditStyle 値。 UITypeEditor がこのメソッドをサポートしていない場合、GetEditStyle()None を返します。

こちらもご覧ください

適用対象