Skip to main content

IViewModelEventManager.ViewModelRemoving Event

Namespace: DevExpress.Mvvm.ModuleInjection

Assembly: DevExpress.Mvvm.v22.2.dll

NuGet Package: DevExpress.Mvvm

Declaration

[WeakEvent]
event EventHandler<ViewModelRemovingEventArgs> ViewModelRemoving

Event Data

The ViewModelRemoving event's data class is ViewModelRemovingEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
RegionName
ViewModel
ViewModelKey
See Also