Session.ObjectChanged Event
Occurs after an object’s property has been changed.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
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.