Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Session.ObjectDeleting Event

Occurs when an object is about to be deleted.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public event ObjectManipulationEventHandler ObjectDeleting

Event Data

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

Property Description
Object Gets the object currently being processed.
Session Gets the session whose persistent object is currently being processed.

Remarks

An object’s IXPObject.OnDeleting event is raised after the ObjectDeleting event.

An object can be deleted using the XPBaseObject.Delete method.

See Also