Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

See Also