NavBarGroupCollection.GetVisibleGroupCount() Method
OBSOLETE
Use the GetVisibleItemCount() method instead.
Returns the number of visible groups in the navbar.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Returns
Type | Description |
---|---|
Int32 | An integer value representing the number of visible groups in the navbar. |
Remarks
The visibility of a group within the navbar is controlled by two interrelated properties: the NavBarGroup.Visible and NavBarGroup.VisibleIndex. To obtain a particular visible group by its visible index use the NavBarGroupCollection.GetVisibleGroup method.
The GetVisibleGroupCount method returns the number of groups currently visible in the navbar control. The GetVisibleGroupCount method can be used together with the NavBarGroupCollection.GetVisibleGroup method to iterate through the collection of visible groups in the navbar.