Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolboxItem Class

Represents a ToolboxControl item.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v24.2.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