共用方式為


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 設計工具擴充性