Back to Devexpress

HamburgerMenuAdaptiveLayoutController Members

wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgermenuadaptivelayoutcontroller-dot-underscore-members.md

latest5.2 KB
Original Source

HamburgerMenuAdaptiveLayoutController Members

Provides options used to customize the HamburgerMenu‘s Adaptive Layout behavior.

Constructors

NameDescription
HamburgerMenuAdaptiveLayoutController()Initializes a new instance of the HamburgerMenuAdaptiveLayoutController class with default settings.

Properties

NameDescription
ActualWidthGets or sets the actual width of the menu.
AvailableViewStatesGets or sets whether the menu can be displayed in the Flyout, Overlay and/or Inline state.
CompactOverlayStateThresholdGets or sets the window width, in pixels, at which the menu is automatically displayed in the Overlay state.
IsCompactOnShowGets or sets whether the menu is initially collapsed.
IsMenuVisibleGets or sets whether the menu is collapsed.
MinimizedFlyoutStateThresholdGets or sets the window width, in pixels, at which the menu is automatically displayed in the Flyout state. This property supports the adaptive layout.
ViewStateGets 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

NameDescription
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) staticDetermines 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() protectedCreates 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) staticDetermines 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

HamburgerMenuAdaptiveLayoutController Class

DevExpress.Xpf.WindowsUI Namespace