A newer version of this page is available. Switch to the current version.

PLinqServerModeSource Class

The data source for the GridControl, GridLookUpEdit and SearchLookUpEdit controls that binds these controls to any enumerable source in Server Mode.

Namespace: DevExpress.Data.PLinq

Assembly: DevExpress.Data.v20.2.dll


[ToolboxBitmap(typeof(ResFinder), "Bitmaps256.PLinqServerModeSource.bmp")]
public class PLinqServerModeSource :


Server mode allows a data-aware control to rapidly work with large datasets. Loading records in small portions on demand and performing data-aware operations on the data server side are the key features of server mode. When the control needs to display a specific portion of data, it calls a specific method of the bound server mode data source. This method sends a corresponding request to the data store, and upon receiving the results, passes them back to the control. The PLinqServerModeSource component implements the IListSource interface, and can be used as a data source for a control supporting the server mode feature.

Use PLinqServerModeSource to bind a server-mode enabled control to an enumerable collection via Parallel LINQ to Objects. For this purpose, perform the following steps.

  • Specify the required collection via the PLinqServerModeSource.Source property. This property should be set in code.

    public Form1() {
        plinqServerModeSource1.Source = myCustomerCollection;
  • Bind the control to the PLinqServerModeSource component.


The LinqServerModeSource is a read-only data source.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PLinqServerModeSource class.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.


See Also