DeleteObjectsViewController.Deleting Event
In This Article
Occurs before deleting objects.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public event EventHandler<DeletingEventArgs> Deleting
#Event Data
The Deleting event's data class is DevExpress.ExpressApp.DeletingEventArgs.
#Remarks
Handle this event to customize the list of objects to be deleted by the DeleteObjectsViewController.DeleteAction. By default, this list contains objects that are selected in the current View (see View.SelectedObjects). To change this list, use the event handler’s DeletingEventArgs.Objects parameter.
See Also