CategoryEditor.TargetCategory 属性

在派生类中重写时,获取指示此编辑器所属类别的本地化字符串。

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

语法

声明
Public MustOverride ReadOnly Property TargetCategory As String
    Get
public abstract string TargetCategory { get; }
public:
virtual property String^ TargetCategory {
    String^ get () abstract;
}
abstract TargetCategory : string
abstract function get TargetCategory () : String

属性值

类型:System.String
一个表示此编辑器所属类别的字符串。

备注

CategoryEditor 对象是在类型上进行定义的,因此在加载时它们必须指示它们所属的实际类别。

.NET Framework 安全性

请参见

参考

CategoryEditor 类

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

属性编辑体系结构

WPF 设计器扩展性