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

IViewInjectionManager.Navigate(String, Object) Method

Navigates to the specified ViewModel (and its View) inside the corresponding region.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.WindowsDesktop.Mvvm

Declaration

void Navigate(
    string regionName,
    object key
)

Parameters

Name Type Description
regionName String

A System.String value specifying the region name.

key Object

An object specifying the key of the ViewModel (and its View).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Navigate(String, Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also