Back to Devexpress

NavBarGroup.SelectedLink Property

windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-7608cc6f.md

latest2.0 KB
Original Source

NavBarGroup.SelectedLink Property

Gets or sets an object representing the group’s selected link.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[Browsable(false)]
public virtual NavBarItemLink SelectedLink { get; set; }
vb
<Browsable(False)>
Public Overridable Property SelectedLink As NavBarItemLink

Property Value

TypeDescription
NavBarItemLink

A NavBarItemLink object representing the group’s selected link. null ( Nothing in Visual Basic) if none of the group items are selected.

|

Remarks

Link selection can be enabled via the NavBarControl.LinkSelectionMode property.

Read the SelectedLink property value to obtain the NavBarItemLink object representing the selected link. Assign a NavBarItemLink object to this property to select this link. Setting the SelectedLink property to null ( Nothing in Visual Basic) deselects all links within the group.

See Also

SelectedLinkIndex

LinkSelectionMode

SelectedLink

NavBarGroup Class

NavBarGroup Members

DevExpress.XtraNavBar Namespace