UITypeEditorEditStyle 列挙型

定義

UITypeEditorの値編集スタイルを示す識別子を指定します。

public enum class UITypeEditorEditStyle
public enum UITypeEditorEditStyle
type UITypeEditorEditStyle = 
Public Enum UITypeEditorEditStyle
継承
UITypeEditorEditStyle

フィールド

名前 説明
None 1

対話型ユーザー インターフェイス (UI) コンポーネントを提供しません。

Modal 2

プログラムを続行する前にユーザー入力が必要なモーダル ダイアログ ボックスを開始するための省略記号 (...) ボタン、または画面に残り、いつでも使用できるが、他のユーザー アクティビティを許可するモードレス ダイアログ ボックスを表示します。

DropDown 3

ドロップダウン矢印ボタンを表示し、ドロップダウン ダイアログ ボックスでユーザー インターフェイス (UI) をホストします。

次のコード例では、 UITypeEditorEditStyle を使用してカスタム UITypeEditorのスタイルを指定する方法を示します。 このコード例は、 DocumentDesigner クラスに提供されるより大きな例の一部です。

public override UITypeEditorEditStyle GetEditStyle(
System.ComponentModel.ITypeDescriptorContext context)
{
    return UITypeEditorEditStyle.DropDown;
}
Public Overrides Function GetEditStyle( _
ByVal context As System.ComponentModel.ITypeDescriptorContext) _
As UITypeEditorEditStyle
    Return UITypeEditorEditStyle.DropDown
End Function

適用対象

こちらもご覧ください