BaseObjectSpace.ObjectDeleting Event
In This Article
Occurs when the specified objects are about to be deleted.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public event EventHandler<ObjectsManipulatingEventArgs> ObjectDeleting
#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