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

IViewInjectionManager Members

Provides methods to inject and manipulate under ViewModels (and their Views)

Methods

Name Description
GetService(String)
Inject(String, Object, Func<Object>, String, Type)
Navigate(String, Object) Navigates to the specified ViewModel (and its View) inside the corresponding region.
RaiseNavigatedAwayEvent(Object)
RaiseNavigatedEvent(Object)
RaiseViewModelClosingEvent(ViewModelClosingEventArgs)
RegisterNavigatedAwayEventHandler(Object, Action) Registers the NavigateAway event handler for the specified ViewModel.
RegisterNavigatedEventHandler(Object, Action) Registers the Navigated event handler for the specified ViewModel.
RegisterService(IViewInjectionService) Register the service. For internal use.
RegisterViewModelClosingEventHandler(Object, Action<ViewModelClosingEventArgs>)
Remove(String, Object) Removes the ViewModel (and its View) from the specified region.
UnregisterNavigatedAwayEventHandler(Object, Action) Unregisters the NavigateAway event handler for the specified ViewModel.
UnregisterNavigatedEventHandler(Object, Action) Unregisters the Navigated event handler for the specified ViewModel.
UnregisterService(IViewInjectionService) Unregister the service. For internal use.
UnregisterViewModelClosingEventHandler(Object, Action<ViewModelClosingEventArgs>)
See Also