BootstrapAccordion.Items Property

Gets the collection of items within the Accordion control.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[Browsable(false)]
public virtual BootstrapAccordionItems Items { get; }
<Browsable(False)>
Public Overridable ReadOnly Property Items As BootstrapAccordionItems

Property Value

Type Description
BootstrapAccordionItems

A BootstrapAccordionItems object representing the collection of all the items within the Accordion.

Remarks

The Items property provides access to a collection that contains all the items of the Accordion control (this includes items of all the Accordion's groups). This collection is read-only since individual items can be manipulated (added or removed) at the group level by the means provided by a group's BootstrapAccordionGroup.Items collection. The collection obtained via the Items property allows you to find an individual item specified by its display text or unique name (see the BootstrapAccordionItems.FindByText and BootstrapAccordionItems.FindByName methods). You can also iterate through all the items in the collection and access WebControls contained within a particular item via the NavBarItem.FindControl method.

See Also