Back to Devexpress

Session.ObjectDeleting Event

xpo-devexpress-dot-xpo-dot-session-90a567b6.md

latest1.6 KB
Original Source

Session.ObjectDeleting Event

Occurs when an object is about to be deleted.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event ObjectManipulationEventHandler ObjectDeleting
vb
Public Event ObjectDeleting As ObjectManipulationEventHandler

Event Data

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

PropertyDescription
ObjectGets the object currently being processed.
SessionGets 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

Delete()

Session Class

Session Members

DevExpress.Xpo Namespace