ObjectChangedEventArgs.NewValue Property

Specifies the new value of a changed property.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

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

Property Value

Type Description
Object

The new value of a changed property.

Remarks

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

See Also