All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

NonPersistentObjectSpace.AutoSetModifiedOnObjectChangeByDefault Field

Specifies whether non-persistent Object Spaces add objects to the ModifiedObjects collection when these objects raise the PropertyChanged event. This field affects all non-persistent Object Spaces in your application if you do not specify the AutoSetModifiedOnObjectChange property for a particular Object Space.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public static bool AutoSetModifiedOnObjectChangeByDefault
Public Shared AutoSetModifiedOnObjectChangeByDefault As Boolean

Field Value

Type Description
Boolean

true, if non-persistent Object Spaces add objects to the ModifiedObjects collection when these objects raise the PropertyChanged event; otherwise, false.

Remarks

Use this field to track modifications of non-persistent objects that implement the INotifyPropertyChanged interface.

Refer to the following GitHub example to see how to use this property: How to implement CRUD operations for Non-Persistent Objects stored remotely.

See Also