NavBarGroupCollection.GetVisibleGroup(Int32) Method
OBSOLETE
Use the Get
Gets a group by its visible index.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
index | Int32 | An integer value representing the visible index of the group to be returned. |
#Returns
Type | Description |
---|---|
Nav |
A Nav |
#Remarks
The visibility of a group within the navbar is controlled by two interrelated properties: the NavBarGroup.Visible and NavBarGroup.VisibleIndex. At that, the NavBarGroup.VisibleIndex property specifies the precise visible position of a group within the navbar control.
The GetVisibleGroup
method obtains a group specified by the value of its NavBarGroup.VisibleIndex property. The GetVisibleGroup
method can be used together with the NavBarGroupCollection.GetVisibleGroupCount
method to iterate through the collection of visible groups in the navbar.