Skip to main content

NavigationServiceBase.Navigate(String, Object, Object, Object, Boolean) Method

Performs navigation to the target View.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

public void Navigate(
    string viewType,
    object viewModel,
    object param,
    object parentViewModel,
    bool saveToJournal
)

Parameters

Name Type Description
viewType String

A System.String value that specifies the name of the target View type.

viewModel Object

An object specifying the ViewModel of the target View.

param Object

A parameter for passing data to the target ViewModel.

parentViewModel Object

The parent ViewModel for building a parent-child view model relationship.

saveToJournal Boolean

true, to log the navigation; otherwise, false.

See Also