Skip to main content

IViewInjectionManager Methods

Provides methods to inject and manipulate under ViewModels (and their Views)
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