Skip to main content

IViewInjectionManager.UnregisterNavigatedEventHandler(Object, Action) Method

Unregisters the Navigated event handler for the specified ViewModel.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v22.2.dll

NuGet Package: DevExpress.Mvvm


void UnregisterNavigatedEventHandler(
    object viewModel,
    Action eventHandler = null


Name Type Description
viewModel Object

An object representing the ViewModel.

Optional Parameters

Name Type Default Description
eventHandler Action null

A System.Action object encapsulating the event handler.


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

See Also