xpo-devexpress-dot-xpo-dot-session-35aa60ba.md
Occurs after an object’s property has been changed.
Namespace : DevExpress.Xpo
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public event ObjectChangeEventHandler ObjectChanged
Public Event ObjectChanged As ObjectChangeEventHandler
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. |
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