Skip to main content
A newer version of this page is available. .

NavigationServiceBase.Navigate(String, Object, Object) Method

Navigates to a View with specific parameters.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public void Navigate(
    string viewType,
    object param = null,
    object parentViewModel = null
)

Parameters

Name Type Description
viewType String

An Object that is the View to which the NavigationFrame should navigate.

Optional Parameters

Name Type Default Description
param Object *null*

An Object that is the navigation parameter, passed to the target View.

parentViewModel Object *null*

An Object that implements the NavigationServiceBase service. Allows using this service in the target ViewModel.

See Also