windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-70dce176.md
Gets or sets the index of the link which is displayed at the top of the current group.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int TopVisibleLinkIndex { get; set; }
<DefaultValue(0)>
<XtraSerializableProperty>
Public Overridable Property TopVisibleLinkIndex As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 0 |
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.
See Also