NavBarGroup Class
Represents an individual group within the ASPxNavBar control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Related API Members
The following members return NavBarGroup objects:
Remarks
A navbar control maintains collections of groups and items. Groups are represented by instances of the NavBarGroup class which can be accessed by the ASPxNavBar.Groups property. This property returns the NavBarGroupCollection collection which allows you to add, delete and move groups within the navbar.
Use properties of the NavBarGroup class to specify the appearance and behavior of an individual group. Set the NavBarGroup.Expanded property to true
to expand the group; set it to false
to collapse the group. Use the NavBarGroup.Text property to define the caption text of the group. Define the NavBarGroup.VisibleIndex property to specify the position of the group among other groups in the navbar control. To get access to the items the group contains, you should use the NavBarGroup.Items property.
Note that the NavBarGroup class has a client-side equivalent - an object of the ASPxClientNavBarGroup type.