Back to Devexpress

OfficeNavigationBar.SelectedItem Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-officenavigationbar-1a1044bb.md

latest1.9 KB
Original Source

OfficeNavigationBar.SelectedItem Property

Gets or sets the selected item.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Properties")]
public NavigationBarItem SelectedItem { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Properties")>
Public Property SelectedItem As NavigationBarItem

Property Value

TypeDefaultDescription
NavigationBarItemnull

The selected item.

|

Remarks

The item selection feature can be disabled using the OfficeNavigationBar.AllowItemSelection property. See this topic to learn more.

See Also

AllowItemSelection

Items

SelectedItemChanged

SelectedItemChanging

OfficeNavigationBar Class

OfficeNavigationBar Members

DevExpress.XtraBars.Navigation Namespace