Skip to main content

ToolboxItem Class

Represents a ToolboxControl item.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public class ToolboxItem :
    ToolboxElementBase,
    IToolboxItem

Remarks

The ToolboxItem object represents a ToolboxControl item. In the ToolboxControl, items are arranged into groups that are represented by the ToolboxGroup objects. To access the collection of items in a particular group, use the ToolboxGroup.Items property. In turn, the collection of groups in the ToolboxControl can be accessed using the ToolboxControl.Groups property.

In a particular group, items can be arranged into subgroups. Items that belong to different subgroups are detached from each other using the separator. To start a subgroup with a particular item, set the ToolboxElementBase.BeginGroup property to true. The ToolboxElementBase.BeginGroupCaption property allows you to provide a caption for the subgroup.

The figure below shows a sample ToolboxControl displaying its items arranged into groups and subgroups.

ToolboxControl_Subgroups

See Also