Occurs when a property of the object is changed.
The Changed event's data class is ObjectChangeEventArgs. The following properties provide information specific to this event:
|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.|
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Changed event.
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.