Gets or sets an object representing the selected link.
A NavBarItemLink object representing the selected link.
End-users can select links via mouse clicks. The NavBarControl also provides the capability to select links in code. You can use the SelectedLink property for this purpose.
In the Navigation Pane and Side Bar Views, the SelectedLink property specifies the selected link in the active group (NavBarControl.ActiveGroup). In the Explorer Bar Views, which provide access to all groups simultaneously, the SelectedLink property specifies the first group's selected link. To refer to the selected link in a specific group, use the NavBarGroup.SelectedLink or NavBarGroup.SelectedLinkIndex property instead. If link selection is prohibited, the SelectedLink property returns null and assigning the SelectedLink property has no effect.
See the NavBarControl.LinkSelectionMode topic for details on enabling link selection.