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

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

In This Article

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