Skip to main content
A newer version of this page is available. .

BootstrapClientAccordion.GetGroupByName(name) Method

Returns a group specified by its name.

Declaration

GetGroupByName(
    name: string
): BootstrapClientAccordionGroup

Parameters

Name Type Description
name string

A string value specifying the name of the group.

Returns

Type Description
BootstrapClientAccordionGroup

A BootstrapAccordionGroup object that represents the group with the specified name.

Remarks

The Accordion control’s client-side functionality allows Accordion groups to be accessed programmatically on the client side. This method gets a client group object specified by its name. A group’s name is defined by the NavBarGroup.Name property.

Note that if an invalid name is passed via the parameter, this method returns null.

See Also