Skip to main content

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