[]
Adds a ToolboxItem to the toolbox, creating the optionally specified category if it does not exist.
public virtual void AddToolboxItem(ToolboxItem toolboxItem, string category)
Type | Name | Description |
---|---|---|
ToolboxItem | toolboxItem | The ToolboxItem to add to the toolbox. |
string | category | The category to add the toolbox item to. If the category does not exist, it will be created. |
This method adds a new toolbox item to the specified category in the toolbox. If the category does not exist, it will be created. The toolbox item will be represented as a button in the toolbox.
Adds a ToolboxItem to the toolbox into the "General" category.
public void AddToolboxItem(ToolboxItem toolboxItem)
Type | Name | Description |
---|---|---|
ToolboxItem | toolboxItem | The ToolboxItem to add to the toolbox. |
This method adds a new toolbox item to the "General" category in the toolbox. The toolbox item will be represented as a button in the toolbox.