Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CollectionSourceBase.DataAccessMode Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.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.

Remarks

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.

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

See Also