BootstrapAccordionGroupCollection.Add(String, String, String, String) Method

Adds a new group to the collection and specifies the group’s display text, name, associated image and URL.

Namespace: DevExpress.Web.Bootstrap

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


public BootstrapAccordionGroup Add(
    string text,
    string name,
    string iconCssClass,
    string navigateUrl


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.

iconCssClass String

A String value specifying the CSS class of the image displayed by the group’s header. Initializes the group’s BootstrapAccordionGroup.HeaderCssClass property.

navigateUrl String

A String value specifying the URL to which the browser navigates when the group’s text or associated image is clicked. Initializes the group’s NavBarGroup.NavigateUrl 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