Skip to main content
.NET 6.0+

XPBaseObject.Changed Event

Occurs when a property of the object is changed.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public event ObjectChangeEventHandler Changed

Event Data

The Changed 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 Changed event is raised after the XPBaseObject.OnChanged method has been called. The event parameter’s ObjectChangeEventArgs.PropertyName property returns the name of the property whose value has been changed. The ObjectChangeEventArgs.Reason property gets the way in which the object has been changed.

See Also