Skip to main content
A newer version of this page is available. .

CreateCustomCollectionSourceEventArgs.DataAccessMode Property

Specifies the mode used to access the Collection Source’s collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public CollectionSourceDataAccessMode DataAccessMode { get; }

Property Value

Type Description
CollectionSourceDataAccessMode

A CollectionSourceDataAccessMode enumeration value that specifies the mode used to access the Collection Source’s CollectionSourceBase.Collection.

Available values:

Name Description
Client

The entire record set required for the current List View is loaded into memory. All the data processing takes place on the client side.

Server

Data is requested from a data store in small portions that should currently be displayed. All data-aware operations are performed on the data server side.

DataView

A lightweight read-only list of data records (EFDataView or XPView) is retrieved without loading complete persistent objects.

InstantFeedback

A List View’s control continues responding to a user’s actions while the data is being retrieved in a background thread (see Instant Feedback Mode).

Remarks

When a CollectionSource object is being created for a List View, the DataAccessMode property returns that List View’s Data Access Mode specified in the Model Editor (see IModelListView.DataAccessMode) or in code (see CollectionSourceBase.DataAccessMode).

Detailed descriptions of the available data access modes are provided in the following topics.

See Also