windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-7608cc6f.md
Gets or sets an object representing the group’s selected link.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
[Browsable(false)]
public virtual NavBarItemLink SelectedLink { get; set; }
<Browsable(False)>
Public Overridable Property SelectedLink As NavBarItemLink
| Type | Description |
|---|---|
| NavBarItemLink |
A NavBarItemLink object representing the group’s selected link. null ( Nothing in Visual Basic) if none of the group items are selected.
|
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