Back to Devexpress

HamburgerMenu.ShowMenuOnEmptySpaceBarClick Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgermenu-a4ca0389.md

latest1.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public bool ShowMenuOnEmptySpaceBarClick { get; set; }
vb
Public Property ShowMenuOnEmptySpaceBarClick As Boolean

Property Value

TypeDescription
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

HamburgerMenu Class

HamburgerMenu Members

DevExpress.Xpf.WindowsUI Namespace