UITypeEditorEditStyle 列挙型
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
UITypeEditorの値編集スタイルを示す識別子を指定します。
public enum class UITypeEditorEditStyle
public enum UITypeEditorEditStyle
type UITypeEditorEditStyle =
Public Enum 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