The requested page is not available for the requested platform. You are viewing the content for Default platform.

HamburgerMenu.HideMenuWhenActivePageItemNotFound Property

Gets or sets whether the menu is automatically hidden when the navigated page is not represented in the Main Menu by a navigation button.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v19.1.dll

Declaration

public bool HideMenuWhenActivePageItemNotFound { get; set; }
Public Property HideMenuWhenActivePageItemNotFound As Boolean

Property Value

Type Description
Boolean

true, if the menu is automatically hidden when the navigated page is not represented in the menu by a navigation button; otherwise, false. The default is false.

Remarks

If the HamburgerMenu.SyncWithActivePage option is enabled, the button selection in the menu is automatically synchronized with the navigated page. If the navigated page is not represented in the Main Menu by a button, the menu can be automatically hidden. To enable this behavior, set the HideMenuWhenActivePageItemNotFound property to true.

See Also