Skip to main content
.NET Framework 4.5.2+

ListEditor.SupportsDataAccessMode(CollectionSourceDataAccessMode) Method

Determines whether or not the given data access mode is supported by the ListEditor.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public virtual bool SupportsDataAccessMode(
    CollectionSourceDataAccessMode dataAccessMode


Name Type Description
dataAccessMode CollectionSourceDataAccessMode

A CollectionSourceDataAccessMode enumeration value that specifies the data access mode.


Type Description

true, if the specified mode is supported, otherwise - false.


In custom List Editors, this method returns true for all data access modes. Override SupportsDataAccessMode in your custom List Editor to specify the supported modes.

public override Boolean SupportsDataAccessMode(CollectionSourceDataAccessMode dataAccessMode) {
    return (dataAccessMode == CollectionSourceDataAccessMode.Client);
See Also