HamburgerMenuAdaptiveLayoutController Members
Provides options used to customize the HamburgerMenu‘s Adaptive Layout behavior.Constructors
| Name | Description |
|---|---|
| HamburgerMenuAdaptiveLayoutController() | Initializes a new instance of the HamburgerMenuAdaptiveLayoutController class with default settings. |
Properties
| Name | Description |
|---|---|
| ActualWidth | Gets or sets the actual width of the menu. |
| AvailableViewStates | Gets or sets whether the menu can be displayed in the Flyout, Overlay and/or Inline state. |
| CompactOverlayStateThreshold | Gets or sets the window width, in pixels, at which the menu is automatically displayed in the Overlay state. |
| IsCompactOnShow | Gets or sets whether the menu is initially collapsed. |
| IsMenuVisible | Gets or sets whether the menu is collapsed. |
| MinimizedFlyoutStateThreshold | 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. |
| ViewState | 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. |
Methods
| Name | Description |
|---|---|
| AttachMenu(IHamburgerMenu) | Updates the HamburgerMenuAdaptiveLayoutController.ViewState property according to the menu being attached. |
| ClosePane() | Toggles the menu into the corresponding collapsed state (Closed, CompactInline or CompactOverlay). |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| OnPaneClosed() | Called when the menu is about to be toggled into the collapsed state. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToggleViewState() | Toggles between the corresponding expanded and collapsed sates (Opened-Closed, Inline-CompactInline, Overlay-CompactOverlay). |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also