Back to Devexpress

HamburgerMenu.AllowBuiltInNavigation Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgermenu-f10f9606.md

latest2.7 KB
Original Source

HamburgerMenu.AllowBuiltInNavigation Property

Gets or sets whether to automatically set the Hamburger Menu content to a NavigationFrame instance, enabling the navigation capability. This is a dependency property.

Namespace : DevExpress.Xpf.WindowsUI

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

NuGet Package : DevExpress.Wpf.Controls

Declaration

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

Property Value

TypeDescription
Boolean

true, to enable navigation by automatically set the menu content to a NavigationFrame; otherwise, false.

|

Remarks

The AllowBuiltInNavigation property is only in effect if the menu’s Content property is set to null (the default value).

Use the menu item’s HamburgerMenuNavigationButtonBase<TOwner>.NavigationTargetType/HamburgerMenuNavigationButtonBase<TOwner>.NavigationTargetTypeName property to specify the page to be opened when an end-user clicks the menu item. However, to enable this functionality, you should do one of the following:

Important

If both the HamburgerMenu.NavigationTarget and Content properties are set to a valid value, the HamburgerMenu.NavigationTarget property will be prioritized.

See Also

HamburgerMenu Class

HamburgerMenu Members

DevExpress.Xpf.WindowsUI Namespace