Skip to main content
.NET Framework 4.6.2+

ObjectChangeEventArgs(Session, Object, ObjectChangeReason, String, Object, Object) Constructor

Initializes a new instance of the ObjectChangeEventArgs class with the specified parameters.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public ObjectChangeEventArgs(
    Session session,
    object theObject,
    ObjectChangeReason reason,
    string propertyName,
    object oldValue,
    object newValue
)

Parameters

Name Type Description
session Session

The Session of the object whose property has been changed. This value is assigned to the ObjectChangeEventArgs.Session property.

theObject Object

The object whose property has been changed. This value is assigned to the ObjectChangeEventArgs.Object property.

reason ObjectChangeReason

An ObjectChangeReason enumeration value which represents the way that the object has been changed. This value is assigned to the ObjectChangeEventArgs.Reason property.

propertyName String

A String value which specifies the name of the property whose value has been changed. This value is assigned to the ObjectChangeEventArgs.PropertyName property.

oldValue Object

An object which represents the changed property’s old value.

newValue Object

An object which represents the changed property’s new value.

See Also