ASPxNavBar.Items Property
Gets the collection of items within the navbar control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Description |
---|---|
Nav |
A Nav |
#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.