DevExpress.Win.PivotGrid 26.1.5-pre-26235

Prefix Reserved
This is a prerelease version of DevExpress.Win.PivotGrid.
dotnet add package DevExpress.Win.PivotGrid --version 26.1.5-pre-26235
                    
NuGet\Install-Package DevExpress.Win.PivotGrid -Version 26.1.5-pre-26235
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DevExpress.Win.PivotGrid" Version="26.1.5-pre-26235" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DevExpress.Win.PivotGrid" Version="26.1.5-pre-26235" />
                    
Directory.Packages.props
<PackageReference Include="DevExpress.Win.PivotGrid" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DevExpress.Win.PivotGrid --version 26.1.5-pre-26235
                    
#r "nuget: DevExpress.Win.PivotGrid, 26.1.5-pre-26235"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DevExpress.Win.PivotGrid@26.1.5-pre-26235
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DevExpress.Win.PivotGrid&version=26.1.5-pre-26235&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DevExpress.Win.PivotGrid&version=26.1.5-pre-26235&prerelease
                    
Install as a Cake Tool

DevExpress WinForms Pivot Grid

The DevExpress.Win.PivotGrid package includes the DevExpress Pivot Grid control for WinForms applications. Use the PivotGridControl to summarize, organize, and analyze large volumes of data in an Excel-like cross-tabular layout.

The control allows users to rearrange fields, group and filter data, calculate summaries, drill down to underlying records, apply conditional formatting, and export analysis results.

Key Features

  • Data Summaries - Calculates totals and summaries such as Sum, Average, Count, Minimum, and Maximum.
  • Data Shaping - Supports sorting, grouping, filtering, field reordering, and Top N value analysis.
  • Drill-Down - Retrieves the source records used to calculate an individual summary value.
  • Conditional Formatting - Highlights important values with appearance rules, color scales, data bars, and icons.
  • Data Binding - Connects the Pivot Grid to collections, databases, server-mode sources, Excel files, and OLAP cubes.
  • Layout Persistence - Saves and restores field positions, sorting, grouping, filtering, and other layout settings.
  • Printing and Export - Prints Pivot Grid data and exports it to PDF, HTML, MHT, RTF, DOCX, TXT, CSV, XLS, and XLSX formats.

Examples

Install the DevExpress.Win.PivotGrid package:

dotnet add package DevExpress.Win.PivotGrid

For .NET projects, additionally install the DevExpress.Win.Design package.

Add the Pivot Grid control from the Toolbox to a WinForms form.

Display and Configure a Pivot Grid

The following example assumes that a PivotGridControl named pivotGridControl1 has already been added to a WinForms form.

using DevExpress.XtraPivotGrid;
using System.Collections.Generic;
using System.Windows.Forms;

public partial class MainForm : Form {
    public MainForm() {
        InitializeComponent();

        pivotGridControl1.DataSource = new List<Sale> {
            new("Europe", "Beverages", 1200m),
            new("Europe", "Food", 850m),
            new("North America", "Beverages", 1500m),
            new("North America", "Food", 1100m)
        };

        pivotGridControl1.Fields.Add(
            new PivotGridField(nameof(Sale.Region), PivotArea.RowArea));

        pivotGridControl1.Fields.Add(
            new PivotGridField(nameof(Sale.Category), PivotArea.ColumnArea));

        var salesField = new PivotGridField(
            nameof(Sale.Amount),
            PivotArea.DataArea) {
            Caption = "Sales",
            SummaryType = PivotSummaryType.Sum
        };

        pivotGridControl1.Fields.Add(salesField);
    }
}

public record Sale(string Region, string Category, decimal Amount);

Users can drag field headers between the row, column, data, and filter areas to change how the Pivot Grid organizes and summarizes data.

Export Pivot Grid Data to XLSX

The following example exports the current Pivot Grid data and layout to an XLSX file.

using DevExpress.XtraPivotGrid;

private void ExportToXlsx(string filePath) {
    var options = new PivotXlsxExportOptions {
        ExportType = DevExpress.Export.ExportType.DataAware
    };

    pivotGridControl1.ExportToXlsx(filePath, options);
}

The data-aware export mode creates an editable Excel document and preserves Pivot Grid data-shaping information where supported.

Always validate and normalize file paths obtained from external or untrusted sources before you use them for export.

Save and Restore the Pivot Grid Layout

The following example saves the Pivot Grid layout to an XML file and restores it later.

private void SaveLayout(string filePath) {
    pivotGridControl1.SaveLayoutToXml(filePath);
}

private void RestoreLayout(string filePath) {
    pivotGridControl1.RestoreLayoutFromXml(filePath);
}

Assign a unique Name to each Pivot Grid field to ensure that field settings are restored correctly.

Evaluation Period, Pricing Options, and Licensing Terms

Whether you own a license or want to start a 30-day evaluation period, register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free.

For additional registration instructions, see License Key for DevExpress Products.

If you purchase a license after evaluating the product, re-register your updated DevExpress license key to remove evaluation version warnings and messages.

This package is included in the following commercial subscriptions:

See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.

Documentation

Software Bill of Materials (SBOM)

To access SBOM files for DevExpress packages, see Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.

See Also: Information Security | Security - What You Need to Know

Useful Online Resources

Product Compatible and additional computed target framework versions.
.NET net8.0-windows is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on DevExpress.Win.PivotGrid:

Package Downloads
DevExpress.Win

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WinForms UI components (https://www.devexpress.com/winforms) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win/26.1.5-pre-26235

DevExpress.Win.PivotGrid.de

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WinForms UI components (https://www.devexpress.com/winforms) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win.PivotGrid.de/26.1.5-pre-26227

DevExpress.Win.PivotGrid.es

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WinForms UI components (https://www.devexpress.com/winforms) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win.PivotGrid.es/26.1.5-pre-26227

DevExpress.Win.PivotGrid.ja

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WinForms UI components (https://www.devexpress.com/winforms) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win.PivotGrid.ja/26.1.5-pre-26227

DevExpress.Win.Dashboard

Target Platform/Framework: Desktop DevExpress Product Libraries Used: BI Dashboard (https://www.devexpress.com/dashboard) Available in the following DevExpress Subscription(s): Universal SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win.Dashboard/26.1.5-pre-26235

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.1.5-pre-26235 0 8/26/2026
26.1.5-pre-26227 692 8/18/2026
26.1.4 7,781 8/7/2026
26.1.4-pre-26200 796 7/23/2026
26.1.4-pre-26190 843 7/14/2026
26.1.4-pre-26179 835 7/2/2026
26.1.3 35,226 6/18/2026
25.2.9 1,671 8/3/2026
25.2.8 19,427 6/10/2026
25.2.7 46,640 5/6/2026
25.2.6 47,568 4/7/2026
25.2.5 75,100 3/2/2026
25.2.4 85,850 2/3/2026
25.1.13 1,818 7/31/2026
25.1.12 12,715 6/10/2026
25.1.11 14,907 5/5/2026
25.1.10 30,364 4/6/2026
25.1.9 49,326 3/2/2026
25.1.8 50,187 1/16/2026
Loading failed