/syncfusion-wpf:syncfusion-wpf-pivot-gridfrom Syncfusion WPF Controls
Comprehensive guide for implementing Syncfusion WPF PivotGrid control, a powerful pivot table component for cross-tabulated data analysis. Use this when working with WPF pivot tables, PivotGridControl, or cross-tabulated data scenarios. Covers pivot rows/columns configuration, PivotSchemaDesigner, grouping bar, pivot field list, pivot calculations, filtering, sorting, and data binding for business intelligence applications.
Ships in Syncfusion WPF Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion WPF PivotGrid is a powerful cell-oriented, extensible grid control that simulates Microsoft Excel's pivot table feature. It pivots, summarizes, and groups relational data to organize it in a cross-tabulated form, ideal for financial domains and business data analysis.
Use this skill when you need to:
The PivotGrid control provides comprehensive pivot table functionality:
📄 Read: references/getting-started.md
📄 Read: references/data-binding.md
📄 Read: references/pivot-items-and-calculations.md
📄 Read: references/filtering.md
📄 Read: references/sorting.md
📄 Read: references/grouping-bar.md
📄 Read: references/field-list-and-designer.md
📄 Read: references/custom-calculations.md
📄 Read: references/editing-and-updating.md
📄 Read: references/context-menus.md
📄 Read: references/layout-and-display.md
📄 Read: references/selection.md
📄 Read: references/exporting-and-printing.md
📄 Read: references/serialization.md
📄 Read: references/advanced-features.md
XAML:
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:local="clr-namespace:YourNamespace"
Title="PivotGrid Example" Height="600" Width="800">
<Window.Resources>
<ObjectDataProvider x:Key="salesData"
ObjectType="{x:Type local:ProductSales}"
MethodName="GetSalesData" />
</Window.Resources>
<Grid>
<syncfusion:PivotGridControl Name="pivotGrid"
ItemSource="{Binding Source={StaticResource salesData}}">
<!-- Define Pivot Rows -->
<syncfusion:PivotGridControl.PivotRows>
<syncfusion:PivotItem FieldHeader="Product"
FieldMappingName="Product"
TotalHeader="Total" />
<syncfusion:PivotItem FieldHeader="Date"
FieldMappingName="Date"
TotalHeader="Total" />
</syncfusion:PivotGridControl.PivotRows>
<!-- Define Pivot Columns -->
<syncfusion:PivotGridControl.PivotColumns>
<syncfusion:PivotItem FieldHeader="Country"
FieldMappingName="Country"
TotalHeader="Total" />
<syncfusion:PivotItem FieldHeader="State"
FieldMappingName="State"
TotalHeader="Total" />
</syncfusion:PivotGridControl.PivotColumns>
<!-- Define Calculations -->
<syncfusion:PivotGridControl.PivotCalculations>
<syncfusion:PivotComputationInfo CalculationName="Total Amount"
FieldName="Amount"
Format="C"
SummaryType="DoubleTotalSum" />
<syncfusion:PivotComputationInfo CalculationName="Quantity"
FieldName="Quantity"
SummaryType="Count" />
</syncfusion:PivotGridControl.PivotCalculations>
</syncfusion:PivotGridControl>
</Grid>
</Window>
Code-behind (ProductSales.cs):
using System;
using System.Collections.Generic;
public class ProductSales
{
public string Product { get; set; }
public string Date { get; set; }
public string Country { get; set; }
public string State { get; set; }
public int Quantity { get; set; }
public double Amount { get; set; }
public static List<ProductSales> GetSalesData()
{
return new List<ProductSales>
{
new ProductSales { Product = "Bike", Date = "FY 2005", Country = "Canada",
State = "Alberta", Quantity = 5, Amount = 150000 },
new ProductSales { Product = "Car", Date = "FY 2006", Country = "Canada",
State = "Ontario", Quantity = 3, Amount = 90000 },
// Add more data...
};
}
}
Enable interactive drag-and-drop pivoting:
<syncfusion:PivotGridControl ShowGroupingBar="True">
<!-- PivotItems and Calculations -->
</syncfusion:PivotGridControl>
Define PivotGrid programmatically:
PivotGridControl pivotGrid = new PivotGridControl();
// Add Pivot Rows
pivotGrid.PivotRows.Add(new PivotItem
{
FieldHeader = "Product",
FieldMappingName = "Product",
TotalHeader = "Total"
});
// Add Pivot Columns
pivotGrid.PivotColumns.Add(new PivotItem
{
FieldHeader = "Country",
FieldMappingName = "Country",
TotalHeader = "Total"
});
// Add Calculations
pivotGrid.PivotCalculations.Add(new PivotComputationInfo
{
CalculationName = "Total",
FieldName = "Amount",
Format = "C",
SummaryType = SummaryType.DoubleTotalSum
});
// Set ItemSource
pivotGrid.ItemSource = ProductSales.GetSalesData();
Apply filters to narrow data display:
FilterExpression filter = new FilterExpression
{
DimensionHeader = "Product",
DimensionName = "Product",
Name = "ProductFilter",
Expression = "Product = 'Bike'"
};
pivotGrid.Filters.Add(filter);
Use custom comparers for specific sort logic:
public class ReverseOrderComparer : IComparer
{
public int Compare(object x, object y)
{
return -x.ToString().CompareTo(y.ToString());
}
}
// Apply to PivotItem
PivotItem item = new PivotItem
{
FieldHeader = "Product",
FieldMappingName = "Product",
Comparer = new ReverseOrderComparer()
};
Create comprehensive financial reports with multi-dimensional analysis of revenue, expenses, and profitability by product, region, and time period.
Analyze sales performance across products, territories, and time periods with dynamic pivoting and drill-down capabilities.
Build interactive BI dashboards allowing users to explore data through drag-and-drop pivoting with grouping bar and field list.
Track inventory levels, movements, and costs across warehouses, products, and time periods.
Compare budgets vs. actuals across departments, cost centers, and fiscal periods with variance calculations.
Required assemblies for WPF PivotGrid:
Syncfusion.Grid.WpfSyncfusion.GridCommon.WpfSyncfusion.Linq.BaseSyncfusion.PivotAnalysis.BaseSyncfusion.PivotAnalysis.WpfSyncfusion.Shared.WpfInstall via NuGet Package Manager:
Install-Package Syncfusion.PivotTable.wpf
Or via .NET CLI:
dotnet add package Syncfusion.PivotTable.wpf
The NuGet package automatically includes all required dependencies.
using Syncfusion.Windows.Controls.PivotGrid;
using Syncfusion.PivotAnalysis.Base;
Navigate to the appropriate reference file above for detailed implementation guidance on specific features.
references/advanced-features.md (opens in a new tab)references/context-menus.md (opens in a new tab)references/custom-calculations.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/editing-and-updating.md (opens in a new tab)references/exporting-and-printing.md (opens in a new tab)references/field-list-and-designer.md (opens in a new tab)references/filtering.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/grouping-bar.md (opens in a new tab)references/layout-and-display.md (opens in a new tab)references/pivot-items-and-calculations.md (opens in a new tab)references/selection.md (opens in a new tab)references/serialization.md (opens in a new tab)references/sorting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-wpf96 skills in this plugin
/syncfusion-wpf-3d-chartComprehensive guide for implementing Syncfusion WPF 3D Charts (SfChart3D) control for 3D data visualization in Windows Presentation Foundation applications. Use this when working with 3D charts, 3D visualization, or depth axis configurations. This skill covers 3D series types (column, pie, bar), Manhattan charts, 3D rotation, X/Y/Z coordinate plotting, and depth axis configuration for WPF applications./syncfusion-wpf-accordionImplement Syncfusion WPF SfAccordion for collapsible and expandable panel layouts. Use this when working with accordion controls, expandable panels, or collapsible section navigation in WPF. Covers populating items declaratively or via data binding, selection modes (One/OneOrMore/ZeroOrOne/ZeroOrMore), programmatic selection, appearance customization (AccentBrush, HeaderTemplate, ContentTemplate), and theming with SfSkinManager./syncfusion-wpf-ai-assistviewImplement Syncfusion WPF SfAIAssistView for AI chat and conversational assistant interfaces. Use this when building AI assistant UIs, message threads with AI responses, or integrating OpenAI/SemanticKernel in WPF. Covers typing indicators, suggestions, input/response toolbars, stop-responding features, conversation history, input placeholder text, empty view templates, and PromptRequest events using Syncfusion.SfChat.Wpf.Other plugins' skills for the same job