[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Toolbox.BaseToolbox.AddToolboxItem

AddToolboxItem Method

AddToolboxItem(ToolboxItem, string)

Adds a ToolboxItem to the toolbox, creating the optionally specified category if it does not exist.

Declaration
public virtual void AddToolboxItem(ToolboxItem toolboxItem, string category)
Parameters
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.

Implements
Remarks

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.

AddToolboxItem(ToolboxItem)

Adds a ToolboxItem to the toolbox into the "General" category.

Declaration
public void AddToolboxItem(ToolboxItem toolboxItem)
Parameters
Type Name Description
ToolboxItem toolboxItem

The ToolboxItem to add to the toolbox.

Implements
Remarks

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.