Back to Devexpress

BaseObjectSpace.ObjectDeleting Event

expressappframework-devexpress-dot-expressapp-dot-baseobjectspace-6762718d.md

latest1.9 KB
Original Source

BaseObjectSpace.ObjectDeleting Event

Occurs when the specified objects are about to be deleted.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public event EventHandler<ObjectsManipulatingEventArgs> ObjectDeleting
vb
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:

PropertyDescription
ObjectsProvides 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

ObjectDeleting

See Also

BaseObjectSpace Class

BaseObjectSpace Members

DevExpress.ExpressApp Namespace