Adaptive Layout
The Hamburger Menu automatically changes its view according to the application window width. The HamburgerMenu.AvailableViewStates property allows you to specify the view states in which the menu can be displayed. You can enable only one, or any two, or all the provided states:
Value | Description |
---|---|
Flyout | The menu is hidden. With a click on the hamburger button, the menu is displayed in a fly-out overlaying the currently displayed page The HamburgerMenu.MinimizedFlyoutStateThreshold property specifies the window width, in pixels, at which the menu automatically turns into the collapsed Flyout state. |
Overlay | The menu is displayed in the compact mode. With a click on the hamburger button, the menu is expanded overlaying the currently displayed page The HamburgerMenu.CompactOverlayStateThreshold property specifies the window width, in pixels, at which the menu automatically turns into the collapsed Overlay state. |
Inline | The menu is displayed expanded inline with the current page. With a click on the hamburger button, the menu is displayed in the compact mode |