HamburgerMenuAdaptiveLayoutController.ViewState Property
Gets or sets the whether the menu is expanded overlying or inline with the content, or collapsed up to a side bar or the toggle (hamburger) button.
Namespace: DevExpress.Xpf.WindowsUI
Assembly: DevExpress.Xpf.Controls.v24.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Property Value
Type | Description |
---|---|
HamburgerMenuViewState | A HamburgerMenuViewState enumeration value that specifies the menu’s view state. |
Available values:
Name | Description |
---|---|
Opened | Expanded overlaying the main content. The hamburger button toggles this state to Closed. |
Closed | Collapsed up to the hamburger button. The hamburger button toggles this state to Opened. |
Inline | Expanded inline with the main content. The hamburger button toggles this state to CompactInline. |
CompactInline | Collapsed up to a side bar. The hamburger button toggles this state to Inline. |
Overlay | Expanded overlaying the main content. The hamburger button toggles this state to CompactOverlay. |
CompactOverlay | Collapsed up to a side bar. The hamburger button toggles this state to Overlay. |
Remarks
When the ViewState property value changes, the HamburgerMenu.ViewStateChanged event fires.