NavBarControl.SelectedItem Property

Gets or sets the NavBarItem currently selected within this NavBarControl.

Namespace: DevExpress.Xpf.NavBar

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

Declaration

public object SelectedItem { get; set; }
Public Property SelectedItem As Object

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