Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win

#Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int TopVisibleLinkIndex { get; set; }

#Property Value

Type Default Description
Int32 0

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

#Remarks

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