Skip to main content

HamburgerMenuAdaptiveLayoutController.MinimizedFlyoutStateThreshold Property

Gets or sets the window width, in pixels, at which the menu is automatically displayed in the Flyout state. This property supports the adaptive layout.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

public double MinimizedFlyoutStateThreshold { 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 Flyout state. The default is 720.

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 MinimizedFlyoutStateThreshold property specifies the window width, in pixels, at which the menu automatically turns into the collapsed Flyout state.

To specify the collapsed flyout state threshold in mark up, use the menu’s HamburgerMenu.MinimizedFlyoutStateThreshold property which is automatically synchronized with the controller’s MinimizedFlyoutStateThreshold property whenever the menu’s template is applied.

See Also