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

BaseObjectSpace.ObjectDeleting Event

Occurs when the specified objects are about to be deleted.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public event EventHandler<ObjectsManipulatingEventArgs> ObjectDeleting
Public Event ObjectDeleting As EventHandler(Of ObjectsManipulatingEventArgs)

Event Data

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

Property Description
Objects Provides access to the objects that are being manipulated.

Remarks

The ObjectDeleting event is supposed to be raised by the BaseObjectSpace class' descendants before marking objects as deleted from a dataset (see BaseObjectSpace.Delete). Use the handler's ObjectsManipulatingEventArgs.Objects parameter to get the object(s) to be deleted.

Implements

See Also