Navigation.NavigationTarget Attached Property
Gets or sets the NavigationFrame that manages navigation invoked by the current element.
Namespace: DevExpress.Xpf.WindowsUI.Navigation
Assembly: DevExpress.Xpf.Controls.v24.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Returns
Type | Description |
---|---|
Object | The NavigationFrame that manages navigation invoked by the current element. |
Remarks
A UI element can be located outside a NavigationFrame. In this case, even if the Navigation.NavigateTo attached property is set, the element cannot navigate to anywhere, because it cannot be found by a NavigationFrame. The NavigationTarget attached property allows you to assign a Frame to your UI element manually.
NavigationButtons already have their own NavigationButton.NavigationTarget property implemented, so you do not need to use the attached NavigationTarget property. See this link for an example common to both properties.