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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ObjectChangeEventArgs class.
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.