NavigationButton.NavigationParameter Property

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

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v20.1.dll

Declaration

public object NavigationParameter { get; set; }
Public Property NavigationParameter As Object

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