HamburgerSubMenu.IsStandaloneSelectionItemMode Property
Gets or sets whether selecting an item in the current sub-menu discards the selection in the main menu, or the item selection in the current sub-menu and the main menu are independent.
Namespace: DevExpress.Xpf.WindowsUI
Assembly: DevExpress.Xpf.Controls.v24.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if the selection in the current sub-menu and the main menu are independent; otherwise, false. The default is false. |
Remarks
By default, when an item is selected in the current sub-menu, the item previously selected in the main menu (see HamburgerMenu.SelectedItem) is automatically deselected. Set the IsStandaloneSelectionItemMode property to true to enable independent selection for the main menu and current sub-menu. If this option is enabled, selecting an item in the current sub-menu does not discard the selection in the main menu. To get the item selected in the current sub-menu, read the HamburgerSubMenu.SelectedItem property. To get the item selected in the main menu, read the HamburgerMenu.SelectedItem property.