Back to Devexpress

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

corelibraries-devexpress-dot-mvvm-dot-inavigationservice-dot-navigate-x28-system-dot-string-system-dot-object-system-dot-object-system-dot-object-system-dot-boolean-x29.md

latest2.1 KB
Original Source

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

Performs navigation to the target View.

Namespace : DevExpress.Mvvm

Assembly : DevExpress.Mvvm.v25.2.dll

NuGet Packages : DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

csharp
void Navigate(
    string viewType,
    object viewModel,
    object param,
    object parentViewModel,
    bool saveToJournal
)
vb
Sub Navigate(
    viewType As String,
    viewModel As Object,
    param As Object,
    parentViewModel As Object,
    saveToJournal As Boolean
)

Parameters

NameTypeDescription
viewTypeString

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

INavigationService Interface

INavigationService Members

DevExpress.Mvvm Namespace