Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HamburgerMenu.CompactOverlayStateThreshold Property

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public double CompactOverlayStateThreshold { get; set; }

#Property Value

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.

#Remarks

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