Skip to main content

NavBarControl.SelectedItems Property

Gets or sets the collection of NavBarItems currently selected within this NavBarControl.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v22.1.dll

NuGet Package: DevExpress.Wpf.NavBar


public IEnumerable SelectedItems { get; set; }

Property Value

Type Description

An IEnumerable object that stores NavBarItems currently selected within this NavBarControl.


The SelectedItems collection is used only when this NavBarControl‘s NavBarControl.EachGroupHasSelectedItem property is set to true. Otherwise, a NavBarControl can have only one selected item at a time. In this case, use the NavBarControl.SelectedItem property to get or set this item.

To get or set the item selected within an individual NavBarGroup, use the NavBarGroup.SelectedItem property.

See Also