ToolboxItem Class

Represents a ToolboxControl item.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public class ToolboxItem :
    ToolboxElementBase,
    IToolboxItem
Public Class ToolboxItem
    Inherits ToolboxElementBase
    Implements 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