Back to Devexpress

Session.ObjectChanged Event

xpo-devexpress-dot-xpo-dot-session-35aa60ba.md

latest2.3 KB
Original Source

Session.ObjectChanged Event

Occurs after an object’s property has been changed.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event ObjectChangeEventHandler ObjectChanged
vb
Public Event ObjectChanged As ObjectChangeEventHandler

Event Data

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

PropertyDescription
NewValueGets or sets the property’s new value.
ObjectGets or sets the object whose property has been changed.
OldValueGets or sets the property’s old value.
PropertyNameGets the name of the property affected by the changes made.
ReasonGets the way in which the object has been changed.
SessionGets or sets the Session of the object whose property has been changed.

Remarks

The event’s sender parameter identifies the object that has been changed. The object’s property that was affected, the old and new values and the reason for the change are specified by an ObjectChangeEventArgs parameter.

The ObjectChanged event is raised after the XPBaseObject.OnChanged method has been called. For more information, see XPBaseObject.Changed.

See Also

Changed

Session Class

Session Members

DevExpress.Xpo Namespace