Back to Devexpress

NavBarGroup.TopVisibleLinkIndex Property

windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-70dce176.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Win

Declaration

csharp
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int TopVisibleLinkIndex { get; set; }
vb
<DefaultValue(0)>
<XtraSerializableProperty>
Public Overridable Property TopVisibleLinkIndex As Integer

Property Value

TypeDefaultDescription
Int320

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.

See Also

NavBarGroup Class

NavBarGroup Members

DevExpress.XtraNavBar Namespace