Back to Devexpress

NavBarGroup Class

aspnet-devexpress-dot-web-3aaad233.md

latest4.3 KB
Original Source

NavBarGroup Class

Represents an individual group within the ASPxNavBar control.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class NavBarGroup :
    CollectionItem
vb
Public Class NavBarGroup
    Inherits CollectionItem

The following members return NavBarGroup objects:

Show 13 links

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.

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

Inheritance

Object StateManager CollectionItem NavBarGroup BootstrapAccordionGroup

MVCxNavBarGroup

See Also

NavBarGroup Members

ASPxClientNavBarGroup

Navigation Bar

DevExpress.Web Namespace