Skip to main content
.NET Framework 4.6.2+

CollectionSourceBase.DataAccessMode Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

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.

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

See Also