Skip to main content

BootstrapAccordion.ActiveGroup Property

Gets or sets the active group within the BootstrapAccordion control.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[Browsable(false)]
public BootstrapAccordionGroup ActiveGroup { get; set; }

Property Value

Type Description
BootstrapAccordionGroup

A BootstrapAccordionGroup object that represents the active group.

Remarks

When a BootstrapAccordion control’s ASPxNavBar.AutoCollapse property is set to true, only one group can be expanded within the control at a time. This single expanded group is called the active group. In this mode, the ActiveGroup property can be used to obtain and specify the active group within the BootstrapAccordion control.

Note that if the ASPxNavBar.AutoCollapse property is set to false, the ActiveGroup property is not in effect and returns null (Nothing in Visual Basic).

See Also