Skip to main content

NavigationServiceBase.Navigate(String, Object, Object) Method

Navigates to a View with specific parameters.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

Declaration

public void Navigate(
    string viewType,
    object param = null,
    object parentViewModel = null
)

Parameters

Name Type Description
viewType String

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

Optional Parameters

Name Type Default Description
param Object

null

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

parentViewModel Object

null

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

See Also