CollectionSourceBase.DataAccessMode Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public CollectionSourceDataAccessMode DataAccessMode { get; }
Public ReadOnly Property DataAccessMode As CollectionSourceDataAccessMode

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