Skip to main content

NavGroupCollection.GetVisibleGroupCount() Method

Returns the number of visible groups in the collection.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public int GetVisibleGroupCount()

Returns

Type Description
Int32

The number of visible groups in the collection.

Remarks

The GetVisibleGroupCount method returns the number of groups whose NavElement.Visible property is set to true. To get the total number of groups in the collection, use the Count property.

See Also