wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgermenu-b714be46.md
Gets or sets the window width, in pixels, at which the menu is automatically displayed in the Overlay state. This property supports the adaptive layout.
Namespace : DevExpress.Xpf.WindowsUI
Assembly : DevExpress.Xpf.Controls.v25.2.dll
NuGet Package : DevExpress.Wpf.Controls
public double CompactOverlayStateThreshold { get; set; }
Public Property CompactOverlayStateThreshold As Double
| Type | Description |
|---|---|
| Double |
A Double value that specifies the window width, in pixels, at which the menu is automatically displayed in the Overlay state. The default is 1024.
|
The HamburgerMenu supports the adaptive layout, thus it is displayed in the view state that corresponds to the window size. Using the HamburgerMenu.AvailableViewStates property, you can specify the view states in which the menu can be displayed. The CompactOverlayStateThreshold property specifies the window width, in pixels, at which the menu automatically turns into the Overlay state.
See Also