Back to Devexpress

XPBaseObject.Changed Event

xpo-devexpress-dot-xpo-dot-xpbaseobject-befa38b4.md

latest2.2 KB
Original Source

XPBaseObject.Changed Event

Occurs when a property of the object is changed.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event ObjectChangeEventHandler Changed
vb
Public Event Changed As ObjectChangeEventHandler

Event Data

The Changed 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 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

XPBaseObject Class

XPBaseObject Members

DevExpress.Xpo Namespace