Skip to main content
A newer version of this page is available. .

NavBarControl.SelectedItems Property

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

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.NavBar, DevExpress.Wpf.Navigation

Declaration

public IEnumerable SelectedItems { get; set; }

Property Value

Type Description
IEnumerable

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

Remarks

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