Skip to main content

HamburgerMenu.SelectedItem Property

Gets or sets the menu item which is currently selected.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

public object SelectedItem { get; set; }

Property Value

Type Description
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