Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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