Back to Devexpress

NavBarControl.SelectedItems Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navbarcontrol-b99c6f10.md

latest2.1 KB
Original Source

NavBarControl.SelectedItems Property

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

Namespace : DevExpress.Xpf.NavBar

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public IEnumerable SelectedItems { get; set; }
vb
Public Property SelectedItems As IEnumerable

Property Value

TypeDescription
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

EachGroupHasSelectedItem

NavBarControl.SelectedItem

NavBarGroup.SelectedItem

NavBarControl Class

NavBarControl Members

DevExpress.Xpf.NavBar Namespace