Skip to main content
.NET Framework 4.5.2+

ObjectChangedEventArgs.NewValue Property

Specifies the new value of a changed property.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public object NewValue { get; }

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NewValue property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also