Back to Devexpress

ToolboxElementBase.BeginGroup Property

windowsforms-devexpress-dot-xtratoolbox-dot-toolboxelementbase-fcbadee0.md

latest2.5 KB
Original Source

ToolboxElementBase.BeginGroup Property

Gets or sets whether the current item starts a subgroup of items in the ToolboxControl group to which it belongs.

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool BeginGroup { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(False)>
Public Overridable Property BeginGroup As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true, if the current ToolboxControl item starts a subgroup of items.; otherwise, false.

|

Remarks

Items in the ToolboxControl are arranged into groups. The group captions are always visible at the top of the control, and allow an end-user to switch between them. The collection of groups can be accessed using the ToolboxControl.Groups property.

Items in a particular group can also 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 its 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.

See Also

BeginGroupCaption

ToolboxElementBase Class

ToolboxElementBase Members

DevExpress.XtraToolbox Namespace