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.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v19.2.dll

Declaration

public bool IsStandaloneSelectionItemMode { get; set; }
Public Property IsStandaloneSelectionItemMode As Boolean

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.

See Also