.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

ObjectChangeEventArgs Class

Provides data for the XPBaseObject.Changed and Session.ObjectChanged events.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll


public class ObjectChangeEventArgs :
Public Class ObjectChangeEventArgs
    Inherits EventArgs


The XPBaseObject.Changed and Session.ObjectChanged events fire after the XPBaseObject.OnChanged method has been called. The ObjectChangeEventArgs class provides the ObjectChangeEventArgs.PropertyName and ObjectChangeEventArgs.Reason properties that identify the name of the property whose value has been changed and the way in which the object has been changed, respectively. The property's old and new values are specified by the ObjectChangeEventArgs.OldValue and ObjectChangeEventArgs.NewValue properties, respectively.


See Also