次の方法で共有


DialogPropertyValueEditor.DialogEditorTemplate プロパティ

ホスト固有のダイアログ ボックスによってホストされ、その DataContextPropertyValue に設定されている DataTemplate を取得または設定します。

名前空間:  Microsoft.Windows.Design.PropertyEditing
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
Public Property DialogEditorTemplate As DataTemplate
    Get
    Set
public DataTemplate DialogEditorTemplate { get; set; }
public:
property DataTemplate^ DialogEditorTemplate {
    DataTemplate^ get ();
    void set (DataTemplate^ value);
}
member DialogEditorTemplate : DataTemplate with get, set
function get DialogEditorTemplate () : DataTemplate
function set DialogEditorTemplate (value : DataTemplate)

プロパティ値

型: System.Windows.DataTemplate
この値エディターのテンプレートである DataTemplate オブジェクト。

解説

このプロパティが nullnull 参照 (Visual Basic では Nothing) を返した場合、代わりに ShowDialog メソッドが呼び出されます。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

DialogPropertyValueEditor クラス

Microsoft.Windows.Design.PropertyEditing 名前空間

PropertyEntry

PropertyValue

PropertyValueEditorCommands

IInputElement

その他の技術情報

プロパティ編集アーキテクチャ

WPF デザイナーの機能拡張