Back to Devexpress

HamburgerMenu.HideMenuWhenActivePageItemNotFound Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgermenu-8f5f5084.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

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

Property Value

TypeDescription
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

SyncWithActivePage

HamburgerMenu Class

HamburgerMenu Members

DevExpress.Xpf.WindowsUI Namespace