Skip to main content
.NET 8.0+

ObjectChangeEventArgs(Session, Object, 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,
    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.

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