Navigation.NavigationParameter Attached Property
Gets or sets the specific parameter passed when navigating through Views.
Namespace: DevExpress.Xpf.WindowsUI.Navigation
Assembly: DevExpress.Xpf.Controls.v24.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Returns
Type | Description |
---|---|
Object | An Object that is the specific parameter passed when navigating through Views. |
Remarks
You can assign the required data as a parameter to the NavigationParameter property. This data can be later obtained in another View when navigating to this View. To get this parameter, implement the INavigationAware interface for your user control and use its INavigationAware.NavigatedTo method. See the Navigation topic for an example.
NavigationButtons have their own NavigationButton.NavigationParameter property that overrides the attached NavigationParameter property.
To get or set the navigation parameter in code, use the Navigation.GetNavigationParameter or Navigation.SetNavigationParameter properties respectively.