The requested page is not available for the requested platform. You are viewing the content for Default platform.

BaseObjectSpace.ObjectDeleting Event

Occurs when the specified objects are about to be deleted.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll


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

Event Data

The ObjectDeleting event handler receives an argument of the ObjectsManipulatingEventArgs type. The following properties provide information specific to this event.

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


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.

See Also