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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ToolboxCategoryAttribute Class
ToolboxCategoryAttribute Overload
Microsoft.Windows.Design Namespace