---
title: "PLINQ in WPF GridDataControl"
published_at: "2010-06-16T09:18:00+00:00"
modified_at: "2025-04-23T11:39:37+00:00"
url: "https://www.syncfusion.com/blogs/post/plinq-in-wpf-griddatacontrol"
excerpt: "The Syncfusion WPF GridDataControl uses a LINQ-based engine for strongly typed object collections. It uses plain LINQ expression trees to formulate any query execution internally. PLINQ provides a parallel implementation of the LINQ pattern for executing operations in separate batch..."
taxonomy_category:
  - "LINQ"
  - "WPF"
---

# PLINQ in WPF GridDataControl

[wpf](https://www.syncfusion.com/blogs/author/wpf)

![Image](https://www.syncfusion.com/blogs/wp-content/uploads/2018/08/plinq_wpf_15f59da3.png)


The Syncfusion WPF GridDataControl uses a LINQ-based engine for strongly typed object collections. It uses plain LINQ expression trees to formulate any query execution internally. [PLINQ](http://msdn.microsoft.com/en-us/library/dd997425.aspx)
 provides a parallel implementation of the LINQ pattern for executing operations in separate batch threads (for more details on the PLINQ documentation, refer to the MSDN link [http://msdn.microsoft.com/en-us/library/dd997425.aspx](http://msdn.microsoft.com/en-us/library/dd997425.aspx)
). We have leveraged this ability to wrap up existing LINQ expressions on top of PLINQ with the **AsParallel()** extension, which can be enabled in the grid by setting the property as ** UsePLINQ=true**. The grid supports PLINQ for sorting, grouping, and summaries.

We tested the results with a random Northwind Orders generator that constructed one million records.

![image](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-558.png "image")

**Observable Collection Demo**

Below are a few screenshots taken with dual-core and quad-core machines (running on Windows 7) when the grid is sorted by the ShipCountry column.

![image](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-559.png "image")

## Dual Core (Windows 7 OS)

![image](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-560.png "image")

## Quad Core (Windows 7 OS)

The above results clearly show that a quad-core machine keeps the CPU usage at 50% less than the dual-core machine for the same process.
