Skip to main content
.NET Framework 4.6.2+

Session.ObjectChanged Event

Occurs after an object’s property has been changed.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public event ObjectChangeEventHandler ObjectChanged

Event Data

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

Property Description
NewValue Gets or sets the property’s new value.
Object Gets or sets the object whose property has been changed.
OldValue Gets or sets the property’s old value.
PropertyName Gets the name of the property affected by the changes made.
Reason Gets the way in which the object has been changed.
Session Gets 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