DeleteObjectsViewController.Deleting Event

Occurs before deleting objects.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public event EventHandler<DeletingEventArgs> Deleting
Public Event Deleting As EventHandler(Of DeletingEventArgs)

The event handler receives an argument of the DevExpress.ExpressApp.DeletingEventArgs type.

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