共用方式為


CategoryEditor.EditorTemplate 屬性

更新:2007 年 11 月

在衍生類別中覆寫時,取得 DataTemplate 做為 CategoryEditor 的 UI。

命名空間:  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 設計工具擴充性