DialogPropertyValueEditor.DialogEditorTemplate 属性

获取或设置 DataTemplate,它由特定于宿主的对话框承载,并且其 DataContext 设置为 PropertyValue

命名空间:  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 设计器扩展性