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

ASPxNavBar.Items Property

Gets the collection of items within the navbar control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public virtual NavBarItems Items { get; }

Property Value

Type Description
NavBarItems

A NavBarItems object representing the collection of all the items within the navbar.

Remarks

The Items property provides access to a collection that contains all the items of the navbar control (this includes items of all the navbar’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 NavBarGroup.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 NavBarItems.FindByText and NavBarItems.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