Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ObjectChangeEventArgs Class

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll

Declaration

public class ObjectChangeEventArgs :
    EventArgs

Remarks

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ObjectChangeEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
ObjectChangeEventArgs
See Also