Skip to main content
.NET 8.0+

ObjectSpaceModificationEventArgs(Boolean, Object, IMemberInfo, Object, Object) Constructor

Initializes a new instance of the ObjectSpaceModificationEventArgs class with specified settings.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ObjectSpaceModificationEventArgs(
    bool cancel,
    object obj,
    IMemberInfo memberInfo,
    object oldValue,
    object newValue
)

Parameters

Name Type Description
cancel Boolean

true if the IsModified property change should be canceled; otherwise, false.

obj Object

The object whose property value was changed.

memberInfo IMemberInfo

An IMemberInfo object that stores information on the property whose value was changed.

oldValue Object

The old value of a changed property.

newValue Object

The new value of a changed property.

See Also