Skip to main content

IViewInjectionManager.RegisterNavigatedEventHandler(Object, Action) Method

Registers the Navigated event handler for the specified ViewModel.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v22.2.dll

NuGet Package: DevExpress.Mvvm


void RegisterNavigatedEventHandler(
    object viewModel,
    Action eventHandler


Name Type Description
viewModel Object

An object representing the ViewModel.

eventHandler Action

A System.Action object encapsulating the event handler.


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

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


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