Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.2.dll

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public bool HideMenuWhenActivePageItemNotFound { get; set; }

#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