Tab

NavBarGroupCollection.GetVisibleGroup(Int32) Method

OBSOLETE

Use the GetVisibleItem(int index) method instead.

Gets a group by its visible index.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[Obsolete("Use the GetVisibleItem(int index) method instead.")]
public NavBarGroup GetVisibleGroup(
    int index
)

Parameters

Name Type Description
index Int32

An integer value representing the visible index of the group to be returned.

Returns

Type Description
NavBarGroup

A NavBarGroup object which represents the required visible column.

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.

See Also