Gets the collection of items within the navbar control.
NuGet Package: DevExpress.Web
A NavBarItems object representing the collection of all the items within the navbar.
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.