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

IObjectSpace.ObjectDeleted Event

Occurs after the specified objects have been deleted from the dataset.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


event EventHandler<ObjectsManipulatingEventArgs> ObjectDeleted
Event ObjectDeleted As EventHandler(Of ObjectsManipulatingEventArgs)

Event Data

The ObjectDeleted 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.


Raise this event after the specified objects are deleted from a dataset (see BaseObjectSpace.Delete). Use the handler's ObjectsManipulatingEventArgs.Objects parameter to get the object(s) to be deleted.

When implementing the IObjectSpace interface in the BaseObjectSpace class's descendant, you don't have to declare this event. It's declared within the BaseObjectSpace class. In addition, the BaseObjectSpace.OnObjectDeleted method raises this event. So, you should only invoke the OnObjectDeleted method after objects are deleted.

See Also