ToolboxCategoryAttribute 构造函数 (String)

用指定的类别路径初始化 ToolboxCategoryAttribute 类的新实例。

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

语法

声明
Public Sub New ( _
    categoryPath As String _
)
public ToolboxCategoryAttribute(
    string categoryPath
)
public:
ToolboxCategoryAttribute(
    String^ categoryPath
)
new : 
        categoryPath:string -> ToolboxCategoryAttribute
public function ToolboxCategoryAttribute(
    categoryPath : String
)

参数

  • categoryPath
    类型:System.String
    将此类进行分类所依据的路径。使用正斜杠 (/) 作为分隔符来表示多个级别。

.NET Framework 安全性

请参见

参考

ToolboxCategoryAttribute 类

ToolboxCategoryAttribute 重载

Microsoft.Windows.Design 命名空间

其他资源

了解 WPF 设计器扩展性