syncfusion-wpf-grouping — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited syncfusion-wpf-grouping (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.dll~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.