/syncfusion-wpf:syncfusion-wpf-groupingfrom Syncfusion WPF Controls
Implements Syncfusion Essential Grouping for WPF, a data organization engine that works without UI controls. Use this when working with GroupingEngine, TableDescriptor, or organizing tabular data with hierarchical grouping, custom sorting, and filtering. Supports binary tree data structures, expression fields, summary calculations, and aggregate operations for WPF data analysis 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.
Syncfusion Essential Grouping is a 100% Native .NET data technology library that provides support for managing and manipulating tabular information without dependencies on any particular UI component. This framework can be used in any .NET environment including C#, VB.NET, and managed C++, making it ideal for scenarios where you need powerful data organization capabilities independent of visual controls.
Use Essential Grouping when you need to:
The GroupingEngine is particularly powerful when you need data manipulation capabilities that can work across different UI frameworks or in non-UI scenarios like data processing, reporting, or server-side operations.
Essential Grouping uses balanced binary trees as its core data structure instead of arrays. Binary trees allow parent branches to cache information about their children, enabling:
Engine: The main GroupingEngine object that manages the entire data manipulation pipeline
TableDescriptor: Schema information holder with key collections:
GroupedColumns - Properties to group bySortedColumns - Properties to sort bySummaries - Summary calculations to performRecordFilters - Filter conditions to applyExpressionFields - Calculated columns to addTable: Holds the actual data with collections:
Records - All records from data sourceFilteredRecords - Records after applying filtersTopLevelGroup - Root group for accessing hierarchical dataGroups and Records: Recursive structure where:
Groups (sub-groups) or Records (terminal data)📄 Read: references/getting-started.md
📄 Read: references/data-binding.md
📄 Read: references/grouping-operations.md
📄 Read: references/sorting.md
📄 Read: references/filtering.md
📄 Read: references/summaries-and-expressions.md
using System;
using System.Collections;
using Syncfusion.Grouping;
namespace GroupingSample
{
class Program
{
static void Main(string[] args)
{
// 1. Create your data source (IList with objects having public properties)
ArrayList list = new ArrayList();
list.Add(new Employee { Name = "John", Department = "Sales", Salary = 50000 });
list.Add(new Employee { Name = "Jane", Department = "IT", Salary = 65000 });
list.Add(new Employee { Name = "Bob", Department = "Sales", Salary = 55000 });
list.Add(new Employee { Name = "Alice", Department = "IT", Salary = 70000 });
// 2. Create GroupingEngine and set data source
Engine groupingEngine = new Engine();
groupingEngine.SetSourceList(list);
// 3. Access data through Table.Records
Console.WriteLine("All Records:");
foreach (Record rec in groupingEngine.Table.Records)
{
Employee emp = rec.GetData() as Employee;
if (emp != null)
{
Console.WriteLine($"{emp.Name}, {emp.Department}, {emp.Salary}");
}
}
// 4. Apply grouping
groupingEngine.TableDescriptor.GroupedColumns.Add("Department");
// 5. Navigate groups
Console.WriteLine("\nGrouped by Department:");
ShowRecordsUnderGroup(groupingEngine.Table.TopLevelGroup);
Console.ReadLine();
}
static void ShowRecordsUnderGroup(Group g)
{
if (g.Records != null && g.Records.Count > 0)
{
// Terminal group - display records
foreach (Record rec in g.Records)
{
Employee emp = rec.GetData() as Employee;
if (emp != null)
{
Console.WriteLine($" {emp.Name}, {emp.Department}, {emp.Salary}");
}
}
}
else if (g.Groups != null && g.Groups.Count > 0)
{
// Has sub-groups - recurse
foreach (Group subGroup in g.Groups)
{
Console.WriteLine($"Group: {subGroup.Name}");
ShowRecordsUnderGroup(subGroup);
}
}
}
}
public class Employee
{
public string Name { get; set; }
public string Department { get; set; }
public int Salary { get; set; }
}
}
// Group by department
groupingEngine.TableDescriptor.GroupedColumns.Add("Department");
// Add summary for salary
SummaryDescriptor salarySum = new SummaryDescriptor(
"DeptSalaryTotal",
"Salary",
SummaryType.Int32Aggregate
);
groupingEngine.TableDescriptor.Summaries.Add(salarySum);
// Get summary for a specific group
Group itGroup = groupingEngine.Table.TopLevelGroup.Groups["IT"];
ISummary summary = itGroup.GetSummary("DeptSalaryTotal");
Int32AggregateSummary aggSummary = (Int32AggregateSummary)summary;
Console.WriteLine($"IT Department Total: {aggSummary.Sum}");
Console.WriteLine($"IT Department Average: {aggSummary.Average}");
// Sort by salary descending
SortColumnDescriptor sortDesc = new SortColumnDescriptor(
"Salary",
ListSortDirection.Descending
);
groupingEngine.TableDescriptor.SortedColumns.Add(sortDesc);
// Filter for salaries over 60000
RecordFilterDescriptor filter = new RecordFilterDescriptor("[Salary] > 60000");
groupingEngine.TableDescriptor.RecordFilters.Add(filter);
// Access filtered records
foreach (Record rec in groupingEngine.Table.FilteredRecords)
{
Employee emp = rec.GetData() as Employee;
Console.WriteLine($"{emp.Name}: {emp.Salary}");
}
// Add a calculated bonus field (10% of salary)
ExpressionFieldDescriptor bonusField = new ExpressionFieldDescriptor(
"Bonus",
"[Salary] * 0.10"
);
groupingEngine.TableDescriptor.ExpressionFields.Add(bonusField);
// Access the calculated value
foreach (Record rec in groupingEngine.Table.Records)
{
Employee emp = rec.GetData() as Employee;
object bonusValue = rec.GetValue("Bonus");
Console.WriteLine($"{emp.Name}: Salary={emp.Salary}, Bonus={bonusValue}");
}
// Custom comparer for case-insensitive name sorting
public class NameComparer : IComparer
{
public int Compare(object x, object y)
{
if (x == null && y == null) return 0;
if (x == null) return -1;
if (y == null) return 1;
return string.Compare(
x.ToString(),
y.ToString(),
StringComparison.OrdinalIgnoreCase
);
}
}
// Apply custom comparer
NameComparer comparer = new NameComparer();
groupingEngine.TableDescriptor.SortedColumns.Add("Name");
groupingEngine.TableDescriptor.SortedColumns["Name"].Comparer = comparer;
// Group by Department, then by Salary range
groupingEngine.TableDescriptor.GroupedColumns.Add("Department");
groupingEngine.TableDescriptor.GroupedColumns.Add("SalaryRange");
// Navigate nested groups
foreach (Group deptGroup in groupingEngine.Table.TopLevelGroup.Groups)
{
Console.WriteLine($"Department: {deptGroup.Name}");
foreach (Group salaryGroup in deptGroup.Groups)
{
Console.WriteLine($" Salary Range: {salaryGroup.Name}");
foreach (Record rec in salaryGroup.Records)
{
Employee emp = rec.GetData() as Employee;
Console.WriteLine($" {emp.Name}: {emp.Salary}");
}
}
}
Table - Holds the actual data and provides access to Records, FilteredRecords, and TopLevelGroupTableDescriptor - Schema information with collections for grouping, sorting, filtering, summariesGroupedColumns - Properties to group by (hierarchical grouping when multiple added)SortedColumns - Properties to sort by with optional custom comparersRecordFilters - Filter conditions using expression syntaxSummaries - Summary calculations (Sum, Average, Min, Max, Count, etc.)ExpressionFields - Calculated columns using algebraic expressionsGroups - Collection of child groups (if not terminal)Records - Collection of records (if terminal group)Name - The grouping value for this groupGetSummary(string name) - Retrieves summary value for this groupGetData() - Returns the underlying data objectGetValue(string propertyName) - Gets property or expression field valueWhen deploying applications using Essential Grouping, ensure these assemblies are copied to the application folder:
Syncfusion.Grouping.Base.dllSyncfusion.Shared.Base.dllSyncfusion.Shared.Wpf.dllWhat 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