NavBarGroup.TopVisibleLinkIndex Property

Gets or sets the index of the link which is displayed at the top of the current group.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll


public virtual int TopVisibleLinkIndex { get; set; }
Public Overridable Property TopVisibleLinkIndex As Integer

Property Value

Type Default Description


An integer value specifying the top visible link's zero-based index.


Use the TopVisibleLinkIndex property to scroll the group's client area when links don't fit into it. In such an instance, scrolling can also be performed by an end-user by clicking scroll buttons.

Assigning a negative value to the TopVisibleLinkIndex property makes the first link top visible. Assigning a value greater than the last available link index moves the last link to the top.

The image below displays a NavBarControl control whose second group's TopVisibleLinkIndex property is set to 0 and 1 respectively.

Groups - TopVisibleLink

See Also