.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

DeleteObjectsViewController.Deleting Event

Occurs before deleting objects.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

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

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