Skip to main content
.NET 6.0+

CollectionSourceBase.DataAccessMode Property

Gets the mode used to access the CollectionSourceBase‘s collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp


public CollectionSourceDataAccessMode DataAccessMode { get; }

Property Value

Type Description

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


When you create a Collection Source in code, you can initialize the DataAccessMode property using a constructor with the dataAccessMode parameter. To set this property to the required value in the Model Editor, use the IModelListView.DataAccessMode property of the Views | <ListView> node corresponding to the List View for which the current Collection Source is created.

Refer to the following topics for detailed descriptions of the available data access modes:

See Also