CategoryEditor.EditorTemplate 属性

更新:2007 年 11 月

当在派生类中重写时,获取用作 CategoryEditor 的 UI 的 DataTemplate

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design(在 Microsoft.Windows.Design.dll 中)

语法

声明
Public MustOverride ReadOnly Property EditorTemplate As DataTemplate
用法
Dim instance As CategoryEditor
Dim value As DataTemplate

value = instance.EditorTemplate
public abstract DataTemplate EditorTemplate { get; }
public:
virtual property DataTemplate^ EditorTemplate {
    DataTemplate^ get () abstract;
}
public abstract function get EditorTemplate () : DataTemplate

属性值

类型:System.Windows.DataTemplate

表示编辑器模板的 DataTemplate 对象。

备注

DataTemplate 的 DataSource 设置为 CategoryEntry

权限

另请参见

参考

CategoryEditor 类

CategoryEditor 成员

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

属性编辑体系结构

WPF 设计器扩展性