Skip to main content

BootstrapAccordionGroupCollection.Add(String) Method

Adds a new group to the collection and specifies the group’s display text.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public BootstrapAccordionGroup Add(
    string text
)

Parameters

Name Type Description
text String

A String value specifying the group’s display text. Initializes the group’s NavBarGroup.Text property.

Returns

Type Description
BootstrapAccordionGroup

A BootstrapAccordionGroup object representing the newly created group.

Remarks

Use the Add method to add a new group with the specified setting to the BootstrapAccordionGroupCollection object.

See Also