[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Toolbox.BaseToolbox.EnableCategory

EnableCategory Method

EnableCategory(string, bool)

Enables or disables the specified category in the toolbox.

Declaration
public void EnableCategory(string category, bool enable)
Parameters
Type Name Description
string category

The name of the category to enable or disable.

bool enable

A boolean value indicating whether to enable (true) or disable (false) the category.

Remarks

This method sets the enabled state of the specified category and all its tools. When a category is disabled, all tools within that category are also disabled.