Back to Devexpress

HamburgerMenu.SelectedItem Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgermenu-fc8c65fb.md

latest1.8 KB
Original Source

HamburgerMenu.SelectedItem Property

Gets or sets the menu item which is currently selected.

Namespace : DevExpress.Xpf.WindowsUI

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

NuGet Package : DevExpress.Wpf.Controls

Declaration

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

Property Value

TypeDescription
Object

The menu item which is currently selected.

|

Remarks

When an item is selected in a sub-menu, the item previously selected in the main menu is automatically deselected. Set the sub-menu’s HamburgerSubMenu.IsStandaloneSelectionItemMode property to true to enable independent selection for the main menu and the sub-menu. The sub-menu’s HamburgerSubMenu.SelectedItem property returns the selected sub-menu item.

See Also

AllowBuiltInNavigation

Items

SyncWithActivePage

HamburgerMenu Class

HamburgerMenu Members

DevExpress.Xpf.WindowsUI Namespace