ToolboxCategoryAttribute Constructor (String, Boolean)

Initializes a new instance of the ToolboxCategoryAttribute class with the specified category path and parent category visibility.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    categoryPath As String, _
    alwaysShows As Boolean _
)
public ToolboxCategoryAttribute(
    string categoryPath,
    bool alwaysShows
)
public:
ToolboxCategoryAttribute(
    String^ categoryPath, 
    bool alwaysShows
)
new : 
        categoryPath:string * 
        alwaysShows:bool -> ToolboxCategoryAttribute
public function ToolboxCategoryAttribute(
    categoryPath : String, 
    alwaysShows : boolean
)

Parameters

  • categoryPath
    Type: System.String
    The path under which this class is categorized. Represents multiple levels by using the forward slash (/) as a delimiter.
  • alwaysShows
    Type: System.Boolean
    true to indicate whether this class appears in all parent categories; otherwise, false.

.NET Framework Security

See Also

Reference

ToolboxCategoryAttribute Class

ToolboxCategoryAttribute Overload

Microsoft.Windows.Design Namespace

Other Resources

Understanding WPF Designer Extensibility