Skip to main content
Tab

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.2.dll

Declaration

[Obsolete("Use the GetVisibleItemCount() method instead.")]
public int GetVisibleGroupCount()

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.

See Also