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

NavigationButton.NavigationParameter Property

Gets or sets the specific parameter, passed when navigating through views.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public object NavigationParameter { get; set; }

#Property Value

Type Description
Object

An Object that is the specific parameter, passed when navigating through views.

#Remarks

In the Navigation topic you saw how to use the attached Navigation.NavigationParameter property. This parameter is set in one view and can be obtained in another view after navigation. To get this parameter, implement the INavigationAware interface for your user control and use its INavigationAware.NavigatedTo method. NavigationButtons have their own NavigationParameter property that overrides the attached Navigation.NavigationParameter property for a NavigationButton and is used in the same way.

Other Navigation attached properties (Navigation.NavigationTarget and Navigation.NavigateTo) for NavigationButtons are also overridden via corresponding NavigationButton.NavigationTarget and NavigationButton.NavigateTo properties.

See Also