Back to Devexpress

ToolboxItem Class

windowsforms-devexpress-dot-xtratoolbox-7a8666fa.md

latest2.8 KB
Original Source

ToolboxItem Class

Represents a ToolboxControl item.

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class ToolboxItem :
    ToolboxElementBase,
    IToolboxItem
vb
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.

Inheritance

Object MarshalByRefObject Component ToolboxElementBase ToolboxItem

See Also

ToolboxItem Members

ToolboxControl

ToolboxGroup

DevExpress.XtraToolbox Namespace