A newer version of this page is available. Switch to the current version.

BootstrapAccordionGroupCollection.Add(String, String) Method

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll


public BootstrapAccordionGroup Add(
    string text,
    string name
Public Function Add(
    text As String,
    name As String
) As BootstrapAccordionGroup


Name Type Description
text String

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

name String

A String value specifying the name which identifies the created group. Initializes the group's NavBarGroup.Name property.


Type Description

A BootstrapAccordionGroup object representing the newly created group.


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

See Also