CategoryEditor.EditorTemplate 属性
在派生类中重写时,获取用作 CategoryEditor 的 UI 的 DataTemplate。
命名空间: Microsoft.Windows.Design.PropertyEditing
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public MustOverride ReadOnly Property EditorTemplate As DataTemplate
Get
public abstract DataTemplate EditorTemplate { get; }
public:
virtual property DataTemplate^ EditorTemplate {
DataTemplate^ get () abstract;
}
abstract EditorTemplate : DataTemplate
abstract function get EditorTemplate () : DataTemplate
属性值
类型:System.Windows.DataTemplate
表示编辑器模板的 DataTemplate 对象。
备注
此 DataTemplate 的数据上下文设置为 CategoryEntry。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Windows.Design.PropertyEditing 命名空间