Token导航 LogoToken导航

Agent Skill · 运维和基础设施

syncfusion-wpf-grouping(同步融合 wpf 分组)

syncfusion-wpf-grouping 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

syncfusion-wpf-grouping 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 2,092。

总安装 282周安装 12GitHub Stars 2下载 99核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-wpf-grouping(同步融合 wpf 分组)
来源仓库:https://github.com/syncfusion/wpf-ui-components-skills
仓库路径:skills/syncfusion-wpf-grouping
安装命令:
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-grouping
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-grouping

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

同步融合 WPF 分组组件,用于对数据集按类别进行层级化组织与折叠展示。适用于分类浏览、树形目录等需要层次化数据呈现的 WPF 应用开发场景。通过 GitHub 仓库安装,使用 npx skills add 命令引入分组管理技能模块。使用前应确保宿主支持递归遍历算法及展开/折叠状态持久化存储机制。

建议查看原始 README 获取自定义分组键、排序规则、空组过滤等高级配置选项说明。

来源仓库内路径:skills/syncfusion-wpf-grouping

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill sy…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-wpf-grouping 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-w…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-wpf-grouping 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-wpf-grouping 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-grouping 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

syncfusion-wpf-grouping 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-wpf-grouping 用的人多吗?

公开数据是累计安装 282 次,近一周安装 12 次,下载 99 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-wpf-grouping 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
syncfusion-wpf-grouping

同步融合 wpf 分组 · 本页

2822执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementing Syncfusion Essential Grouping for WPF

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.

When to Use This Skill

Use Essential Grouping when you need to:

  • Organize and analyze tabular data without binding to specific UI controls
  • Group data hierarchically by one or multiple properties (e.g., sales by month, employees by department)
  • Apply complex sorting including custom sorting logic with IComparer implementations
  • Filter records based on expressions using properties, logical operators, and special operators (LIKE, MATCH, IN, BETWEEN)
  • Calculate summaries at group levels (Sum, Average, Min, Max, Count)
  • Add calculated columns using expression fields with algebraic formulas
  • Work with IList data sources where items have public properties
  • Handle large datasets efficiently using binary tree data structures (Log2(n) operations for insert/remove/move)
  • Create nested groupings with sub-groups and recursive data structures

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.

Core Concepts

Architecture Overview

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:

  • Quick position lookups with cached information
  • Fast summary calculations cached in parent branches
  • Efficient inserts/removes/moves taking only Log2(n) operations (vs O(n) for ArrayList)

Key Components

Engine: The main GroupingEngine object that manages the entire data manipulation pipeline

TableDescriptor: Schema information holder with key collections:

  • GroupedColumns - Properties to group by
  • SortedColumns - Properties to sort by
  • Summaries - Summary calculations to perform
  • RecordFilters - Filter conditions to apply
  • ExpressionFields - Calculated columns to add

Table: Holds the actual data with collections:

  • Records - All records from data source
  • FilteredRecords - Records after applying filters
  • TopLevelGroup - Root group for accessing hierarchical data

Groups and Records: Recursive structure where:

  • Groups contain either Groups (sub-groups) or Records (terminal data)
  • Navigate hierarchically through TopLevelGroup

Documentation and Navigation Guide

Getting Started and Setup

📄 Read: references/getting-started.md

  • Prerequisites and compatibility (.NET 2.0 - 4.6, VS 2015+)
  • Installation and required assemblies
  • Deployment configuration (Copy Local, licensing)
  • Creating your first GroupingEngine application
  • Basic project setup and namespace imports

Data Binding and Iteration

📄 Read: references/data-binding.md

  • IList data source requirements
  • Creating custom object classes with public properties
  • Building ArrayList data sources
  • Setting data source with SetSourceList
  • Iterating through records using Table.Records
  • GetData() method and type casting

Grouping Operations

📄 Read: references/grouping-operations.md

  • Adding properties to GroupedColumns collection
  • Understanding TableDescriptor collections
  • Accessing the TopLevelGroup
  • Navigating recursive group structures
  • Retrieving specific groups by value
  • Group.Groups vs Group.Records collections

Sorting (Standard and Custom)

📄 Read: references/sorting.md

  • Adding properties to SortedColumns collection
  • Specifying sort direction (ListSortDirection)
  • SortedColumns.Add method overloads
  • Implementing custom sorting with IComparer
  • Creating custom comparer classes
  • Assigning comparer to SortColumnDescriptor

Filtering with Expressions

📄 Read: references/filtering.md

  • Creating RecordFilterDescriptor objects
  • Filter expression syntax with brackets []
  • String operators: LIKE, MATCH
  • Numeric comparisons: =, <, >, <=, >=, <>
  • Complex expressions with OR, AND
  • Using FilteredRecords collection

Summaries and Expression Fields

📄 Read: references/summaries-and-expressions.md

  • Creating SummaryDescriptor objects
  • SummaryType enum (Int32Aggregate, DoubleAggregate, etc.)
  • Retrieving summary values with GetSummary
  • Adding expression fields with ExpressionFieldDescriptor
  • Algebraic expression syntax
  • Special operators: MATCH, LIKE, IN, BETWEEN
  • Custom functions in expressions

Quick Start

Basic GroupingEngine Setup

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; }
    }
}

Common Patterns

Pattern 1: Group and Calculate Summaries

// 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}");

Pattern 2: Filter and Sort Data

// 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}");
}

Pattern 3: Add Expression Field (Calculated Column)

// 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}");
}

Pattern 4: Custom Sorting with IComparer

// 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;

Pattern 5: Nested Grouping (Multiple Levels)

// 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}");
        }
    }
}

Key Properties and Collections

Engine Properties

  • Table - Holds the actual data and provides access to Records, FilteredRecords, and TopLevelGroup
  • TableDescriptor - Schema information with collections for grouping, sorting, filtering, summaries

TableDescriptor Collections

  • GroupedColumns - Properties to group by (hierarchical grouping when multiple added)
  • SortedColumns - Properties to sort by with optional custom comparers
  • RecordFilters - Filter conditions using expression syntax
  • Summaries - Summary calculations (Sum, Average, Min, Max, Count, etc.)
  • ExpressionFields - Calculated columns using algebraic expressions

Group Properties

  • Groups - Collection of child groups (if not terminal)
  • Records - Collection of records (if terminal group)
  • Name - The grouping value for this group
  • GetSummary(string name) - Retrieves summary value for this group

Record Methods

  • GetData() - Returns the underlying data object
  • GetValue(string propertyName) - Gets property or expression field value

Common Use Cases

  1. Sales Reporting: Group sales by region/month, calculate totals and averages, filter for high-value orders
  2. Employee Management: Group by department/role, sort by salary, calculate payroll summaries
  3. Inventory Analysis: Group products by category, filter stock levels, calculate value summaries
  4. Data Export Preparation: Organize data hierarchically before exporting to reports or other formats
  5. Server-Side Data Processing: Manipulate data on server without UI dependencies
  6. Multi-Framework Applications: Share data logic between WPF, WinForms, ASP.NET applications
  7. Custom Report Generators: Build report data structures with grouping and summaries
  8. Data Validation Pipelines: Filter and group data for validation and quality checks

Required Assemblies

When deploying applications using Essential Grouping, ensure these assemblies are copied to the application folder:

  • Syncfusion.Grouping.Base.dll
  • Syncfusion.Shared.Base.dll
  • Syncfusion.Shared.Wpf.dll

平台分布

Codex

33.01%
按下载量换算33

Claude

31.91%
按下载量换算32

Cursor

21.26%
按下载量换算21

Gemini CLI

10.3%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-grouping 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills