Skip to main content

NavigationButton.NavigationParameter Property

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

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.1.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