Skip to main content

NavBarGroup.SelectedLink Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v23.2.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

Property Value

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.

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