HamburgerMenu.NavigationTarget Property
Gets or sets the menu’s navigation target.
Namespace: DevExpress.Xpf.WindowsUI
Assembly: DevExpress.Xpf.Controls.v24.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Property Value
Type | Description |
---|---|
Object | A NavigationFrame or a FrameNavigationService object. |
Remarks
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 any of the following:
- Set the HamburgerMenu.AllowBuiltInNavigation property to true
- Manually specify the NavigationFrame as the root element of the menu’s content
- Set the NavigationTarget property to a NavigationFrame or a FrameNavigationService
Important
If both the NavigationTarget and Content properties are set to a valid value, the HamburgerMenu.NavigationTarget
property will be prioritized.
See Also