The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.ObjectChanged Event

Occurs after an object's property has been changed.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public event ObjectChangeEventHandler ObjectChanged
Public Event ObjectChanged As ObjectChangeEventHandler
public event ObjectChangeEventHandler ObjectChanged
Public Event ObjectChanged As ObjectChangeEventHandler

Event Data

The ObjectChanged event handler receives an argument of the ObjectChangeEventArgs type. The following properties provide information specific to this event.

Property Description
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.

Remarks

The event's sender parameter identifies the object that has been changed. The object's property that was affected, the old and new values and the reason for the change are specified by an ObjectChangeEventArgs parameter.

The ObjectChanged event is raised after the XPBaseObject.OnChanged method has been called. For more information, see XPBaseObject.Changed.

See Also