Skip to main content
A newer version of this page is available. .

HamburgerMenu.ShowMenuOnEmptySpaceBarClick Property

Gets or sets whether the menu displayed in the compact mode can be expanded with a click on an empty space.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public bool ShowMenuOnEmptySpaceBarClick { get; set; }

Property Value

Type Description
Boolean

true, if the menu displayed in the compact mode can be expanded with a click on an empty space; otherwise, false. The default is true.

Remarks

By default, an end-user can expand the menu displayed in the compact mode with a click on the menu’s empty space. Set ShowMenuOnEmptySpaceBarClick property to false to prevent this. If this feature is disabled, an end-user can still expand the menu with a click on the hamburger button.

See Also