The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll

Declaration

public virtual bool SupportsDataAccessMode(
    CollectionSourceDataAccessMode dataAccessMode
)
Public Overridable Function SupportsDataAccessMode(
    dataAccessMode As CollectionSourceDataAccessMode
) As Boolean

Parameters

Name Type Description
dataAccessMode CollectionSourceDataAccessMode

A CollectionSourceDataAccessMode enumeration value that specifies the data access mode.

Returns

Type Description
Boolean

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

Remarks

By default, this method returns true for the Client and Server modes, and false - for the InstantFeedback and DataView 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