.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ObjectChangedEventArgs.OldValue Property

Specifies the old value of a changed property.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll


public object OldValue { get; }
Public ReadOnly Property OldValue As Object

Property Value

Type Description

The old value of a changed property.


The IObjectSpace.ObjectChanged event can be triggered when an end-user starts modifying any property value in a UI. In this instance, the event is triggered, but the ObjectChangedEventArgs.NewValue and OldValue properties are equal. This is the designed behavior. So, if you want to execute a custom activity when a property value change occurs, check the equality of these properties preliminarily.

See Also