Skip to main content

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

Navigates to a View with specific parameters. Allows you to skip writing an entry about this navigation to the Frame’s Journal.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

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

Parameters

Name Type Description
viewType String

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

param Object

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

parentViewModel Object

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

saveToJournal Boolean

true, to save an entry about this navigation to the Frame’s Journal; otherwise, false.

See Also