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.v24.1.dll

NuGet Package: DevExpress.Wpf.NavBar

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