IViewInjectionManager.RegisterNavigatedEventHandler(Object, Action) Method

Registers the Navigated event handler for the specified ViewModel.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v21.1.dll

Declaration

void RegisterNavigatedEventHandler(
    object viewModel,
    Action eventHandler
)

Parameters

Name Type Description
viewModel Object

An object representing the ViewModel.

eventHandler Action

A System.Action object encapsulating the event handler.

Remarks

The Navigated event is raised when navigation to the specified ViewModel is performed.

See Also