Skip to main content

NavBarControl.SelectedItem Property

Gets or sets the NavBarItem currently selected within this NavBarControl.

Namespace: DevExpress.Xpf.NavBar

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

NuGet Package: DevExpress.Wpf.NavBar

Declaration

public object SelectedItem { get; set; }

Property Value

Type Description
Object

An Object that is the NavBarItem currently selected within this NavBarControl.

Remarks

The SelectedItem property is in effect only if this NavBarControl can have only one selected item at a time. Otherwise, if the NavBarControl.EachGroupHasSelectedItem property equals true, the selected item (or items) is stored within the NavBarControl.SelectedItems collection.

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

See Also