Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-winforms-listview(同步融合 winforms 列表视图)

syncfusion-winforms-listview 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

syncfusion-winforms-listview 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 47,825。

总安装 717周安装 29GitHub Stars 公开资料未说明下载 225核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-listview

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

高性能列表展示控件,支持图标、多列及自定义项渲染能力。广泛用于联系人列表、文件浏览器或任何线性数据展示场合。技能封装了虚拟化滚动与缓存机制,保障大数据量流畅滚动体验。自定义绘制时需手动处理焦点与选中状态,防止视觉反馈缺失。移动端移植时应考虑触摸热区大小,建议不小于 44x44 像素。

来源仓库内路径:skills/syncfusion-winforms-listview

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

syncfusion-winforms-listview 怎么安装?

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

syncfusion-winforms-listview 支持哪些 AI 工具?

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

syncfusion-winforms-listview 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

syncfusion-winforms-listview 是免费的吗?

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

syncfusion-winforms-listview 用的人多吗?

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

syncfusion-winforms-listview 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
syncfusion-winforms-listview

同步融合 winforms 列表视图 · 本页

717—只读未明确通过

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

SKILL.md 原文

Implementing ListView

Guide for implementing Syncfusion® Windows Forms ListView (SfListView) — a high-performance list control for creating rich list-based user interfaces with data binding, grouping, sorting, filtering, selection modes, checkbox selection, and extensive customization options.

When to Use This Skill

Use this skill when you need to:

  • Create list views with data binding to collections in Windows Forms applications
  • Display item collections with grouping, sorting, and filtering capabilities
  • Implement item selection with single or multiple selection modes
  • Add checkbox selection for multi-item operations
  • Build searchable lists with filtering and sorting
  • Create grouped lists with expandable/collapsible groups
  • Customize item appearance with templates, styles, and themes
  • Support accessibility with UIAutomation and keyboard navigation
  • Build data-driven UIs similar to file explorers, contact lists, or product catalogs
  • Handle large datasets with optimized view recycling

This skill covers complete ListView implementation including setup, data binding, selection, data operations, customization, and advanced features.

Component Overview

The SfListView control is a high-performance list view control that provides:

  • Data Binding - Support for IEnumerable data sources with automatic refresh
  • Selection Modes - Single, multiple, or none with events
  • Checkbox Selection - Multi-select with checkbox, select all, recursive checking
  • Grouping - Organize items by property with expandable groups
  • Sorting - Ascending/descending sort with custom comparers
  • Filtering - Filter items by criteria with live updates
  • Item Sizing - Auto-fit or fixed item heights
  • Customization - Styles, templates, themes (Office 2016)
  • Header/Footer - Custom header and footer views
  • Scrollbar Customization - Appearance and behavior
  • Localization - Multi-language support
  • Accessibility - UIAutomation support for screen readers

Control Structure

SfListView
├── Header View (optional) - Top content area
├── Groups - Collapsible item groups
│   ├── Group Header - Group title and expand/collapse
│   └── Items - Data items in group
├── Items - Flat list of data-bound items
└── Footer View (optional) - Bottom content area

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly deployment and dependencies
  • Adding SfListView via designer and code
  • Creating data object classes
  • Basic data binding with DataSource
  • First list view example

Data Binding

📄 Read: references/data-binding.md

  • Binding to IEnumerable data sources
  • DataSource property configuration
  • DisplayMember and ValueMember
  • ObservableCollection for live updates
  • Refreshing data programmatically
  • Data source change handling

Selection

📄 Read: references/selection.md

  • SelectionMode (None, One, MultiSimple, MultiExtended)
  • SelectedItem and SelectedItems properties
  • SelectedIndex and SelectedIndices
  • SelectionChanged event
  • Programmatic selection
  • Selection appearance customization
  • 📄 Read: references/checkbox-selection.md
  • CheckBoxSelectionMode property
  • CheckedItems collection
  • CheckedIndices property
  • ItemChecking and ItemChecked events
  • Select all functionality
  • Recursive checking in grouped lists
  • Checkbox appearance customization

Data Operations

📄 Read: references/data-operations.md

  • Grouping items by property
  • GroupDescriptor configuration
  • Sorting items (ascending, descending)
  • Custom sort comparers
  • Filtering with predicates
  • Filter criteria and conditions
  • LiveDataUpdateMode for real-time updates

Customization

📄 Read: references/appearance.md

  • Style property customization
  • ItemStyle and GroupHeaderStyle
  • Theme support (Office 2016, etc.)
  • Colors, fonts, and borders
  • DrawItem event for custom rendering
  • Selection colors and focus indicators

📄 Read: references/item-sizing-headers.md

  • ItemHeight property
  • GroupHeaderHeight property
  • AutoFitMode (Height, DynamicHeight)
  • Header view customization
  • Footer view customization
  • Dynamic height calculation

Advanced Features

📄 Read: references/advanced-features.md

  • Localization and culture support
  • UIAutomation for accessibility
  • Scrollbar customization
  • Performance optimization techniques
  • View recycling strategy
  • Memory management

Quick Start Example

Basic ListView with Data Binding

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Syncfusion.WinForms.ListView;

namespace ListViewDemo
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            InitializeListView();
        }

        private void InitializeListView()
        {
            // Create and configure ListView
            SfListView listView = new SfListView();
            listView.Dock = DockStyle.Fill;
            listView.Size = new Size(400, 500);

            // Set data source
            listView.DataSource = GetCountryData();
            listView.DisplayMember = "CountryName";

            // Enable selection
            listView.SelectionMode = Syncfusion.WinForms.ListView.Enums.SelectionMode.One;
            listView.SelectionChanged += ListView_SelectionChanged;

            // Add to form
            this.Controls.Add(listView);
        }

        private List<CountryInfo> GetCountryData()
        {
            return new List<CountryInfo>
            {
                new CountryInfo { CountryName = "United States", Continent = "North America" },
                new CountryInfo { CountryName = "Canada", Continent = "North America" },
                new CountryInfo { CountryName = "Germany", Continent = "Europe" },
                new CountryInfo { CountryName = "Japan", Continent = "Asia" },
                new CountryInfo { CountryName = "Australia", Continent = "Oceania" }
            };
        }

        private void ListView_SelectionChanged(object sender, EventArgs e)
        {
            if (sender is SfListView listView && listView.SelectedItem != null)
            {
                var selected = listView.SelectedItem as CountryInfo;
                MessageBox.Show($"Selected: {selected.CountryName}");
            }
        }
    }

    public class CountryInfo
    {
        public string CountryName { get; set; }
        public string Continent { get; set; }
    }
}

Common Patterns

Pattern 1: Grouped and Sorted List

// Create ListView
SfListView listView = new SfListView();
listView.DataSource = GetCountryData();
listView.DisplayMember = "CountryName";

// Add grouping by continent
listView.View.GroupDescriptors.Add(new GroupDescriptor()
{
    PropertyName = "Continent"
});

// Add sorting by country name
listView.View.SortDescriptors.Add(new SortDescriptor()
{
    PropertyName = "CountryName",
    Direction = Syncfusion.Data.ListSortDirection.Ascending
});

Pattern 2: Checkbox Selection with Select All

// Enable checkbox mode
listView.CheckBoxMode = CheckBoxMode.Default;

// Handle checked items changes
listView.CheckStateChanged += (s, e) =>
{
    MessageBox.Show($"Checked items: {listView.CheckedItems.Count}");
};

// Add Select All button
Button selectAllBtn = new Button { Text = "Select All" };
selectAllBtn.Click += (s, e) =>
{
    // Check all items
    for (int i = 0; i < listView.View.Items.Count; i++)
    {
        listView.SetItemCheckState(i, CheckState.Checked);
    }
};

Pattern 3: Filtered and Searchable List

// Add TextBox for search
TextBox searchBox = new TextBox();
searchBox.TextChanged += (s, e) =>
{
    string searchText = searchBox.Text.ToLower();

    // Apply filter
    listView.View.Filter = item =>
    {
        if (item is CountryInfo country)
        {
            return country.CountryName.ToLower().Contains(searchText);
        }
        return false;
    };

    // Refresh view
    listView.View.RefreshFilter();
};

Pattern 4: Custom Item Styling

// Customize item appearance
listView.Style.ItemStyle.BackColor = Color.White;
listView.Style.ItemStyle.HoverBackColor = Color.LightBlue;
listView.Style.ItemStyle.SelectedItemBackColor = Color.Blue;
listView.Style.ItemStyle.SelectedItemForeColor = Color.White;
listView.Style.ItemStyle.Font = new Font("Segoe UI", 10f);

// Customize group headers
listView.Style.GroupHeaderStyle.BackColor = Color.LightGray;
listView.Style.GroupHeaderStyle.ForeColor = Color.Black;
listView.Style.GroupHeaderStyle.Font = new Font("Segoe UI", 10f, FontStyle.Bold);

Pattern 5: ObservableCollection with Live Updates

using System.Collections.ObjectModel;
using System.ComponentModel;

public class CountryViewModel : INotifyPropertyChanged
{
    private ObservableCollection<CountryInfo> countries;

    public ObservableCollection<CountryInfo> Countries
    {
        get { return countries; }
        set
        {
            countries = value;
            OnPropertyChanged(nameof(Countries));
        }
    }

    public CountryViewModel()
    {
        Countries = new ObservableCollection<CountryInfo>
        {
            new CountryInfo { CountryName = "USA", Continent = "North America" }
        };
    }

    // Add item - ListView updates automatically
    public void AddCountry(CountryInfo country)
    {
        Countries.Add(country);
    }

    public event PropertyChangedEventHandler PropertyChanged;
    protected void OnPropertyChanged(string propertyName)
    {
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
    }
}

// Bind to ListView
var viewModel = new CountryViewModel();
listView.DataSource = viewModel.Countries;
listView.DisplayMember = "CountryName";

Key Properties

Core Properties

PropertyTypeDescription
DataSourceobjectGets/sets the data source (IEnumerable)
DisplayMemberstringProperty name to display in items
ValueMemberstringProperty name for item values
SelectedItemobjectCurrently selected item
SelectedItemsListCollection of selected items
CheckedItemsListCollection of checked items

Selection Properties

PropertyTypeDescription
SelectionModeSelectionModeNone, One, MultiSimple, MultiExtended
SelectedIndexintIndex of selected item
SelectedIndicesListIndices of selected items
AllowMultiSelectionboolEnable multiple selection

Checkbox Properties

PropertyTypeDescription
CheckBoxSelectionModeCheckBoxSelectionModeNone, Default, SelectAll
CheckedIndicesListIndices of checked items
AllowRecursiveCheckingboolEnable recursive checking in groups
ShowCheckBoxesboolShow/hide checkboxes

Appearance Properties

PropertyTypeDescription
StyleListViewStyleOverall style configuration
ItemHeightintHeight of each item
GroupHeaderHeightintHeight of group headers
AutoFitModeAutoFitModeNone, Height, DynamicHeight

Data Operation Properties

PropertyTypeDescription
ViewDataViewAccess to grouping, sorting, filtering
LiveDataUpdateModeLiveDataUpdateModeAllowDataShaping, AllowSummary, Default

Events

EventDescription
SelectionChangedFired when selection changes
ItemCheckingFired while an item is being checked (cancelable)
ItemCheckedFired after an item's checked state has changed
ItemsSourceChangedFired when DataSource changes
DrawItemCustom drawing for items
QueryItemHeightDynamic item height calculation

Common Use Cases

1. Contact List Application

Display contacts with grouping by first letter, search functionality, and selection for actions.

2. Product Catalog Browser

Show products with filtering by category, sorting by price, and checkbox selection for cart.

3. File Explorer View

Create file/folder lists with icons, grouping by type, sorting by name/date/size.

4. Task Management Lists

Display tasks with checkbox completion, grouping by priority/status, filtering by date.

5. Email Client Inbox

Show email messages with selection, sorting by date, filtering by read/unread status.

6. Customer Order Lists

Display orders with grouping by status, sorting by date, selection for details.

7. Settings Configuration UI

Create lists of settings with checkbox selection for enable/disable features.

8. Data Grid Alternative

Use ListView for simpler list-based data display without complex grid features.

Related Components

  • DataGrid - For tabular data with columns
  • TreeView - For hierarchical data structures
  • ComboBox - For dropdown selection from list
  • CheckedListBox - Simple checkbox list without advanced features

Best Practices

  1. Data Binding

- Use ObservableCollection for automatic UI updates - Implement INotifyPropertyChanged for item property changes - Set DisplayMember and ValueMember for clarity

  1. Performance

- Enable view recycling (enabled by default) - Use AutoFitMode carefully with large datasets - Avoid custom DrawItem for simple scenarios - Use filtering/grouping instead of recreating data source

  1. Selection

- Handle SelectionChanged event for user actions - Use appropriate SelectionMode for use case - Clear selection when data source changes if needed

  1. Grouping and Filtering

- Use View.GroupDescriptors for grouping - Set View.Filter predicate for filtering - Call RefreshFilter() after changing filter criteria - Use SortDescriptors for consistent ordering

  1. Customization

- Use Style properties before custom drawing - Apply themes for consistent appearance - Use ItemStyle and GroupHeaderStyle for basic customization - Only use DrawItem for complex custom rendering

  1. Accessibility

- Enable UIAutomation support - Provide meaningful DisplayMember values - Support keyboard navigation - Test with screen readers

Troubleshooting

Items Not Displaying

  • Verify DataSource is set and not null
  • Check DisplayMember matches property name (case-sensitive)
  • Ensure data objects are public properties
  • Verify ListView size is not zero

Selection Not Working

  • Check SelectionMode is not None
  • Verify SelectionChanged event is subscribed
  • Ensure items are enabled
  • Check if AllowMultiSelection matches SelectionMode

Grouping/Filtering Not Applied

  • Call View.RefreshFilter() after filter changes
  • Check GroupDescriptor PropertyName is correct
  • Verify data property exists and is accessible
  • Ensure LiveDataUpdateMode is appropriate

Performance Issues

  • Reduce AutoFitMode usage for large lists
  • Avoid complex DrawItem logic
  • Use view recycling (default behavior)
  • Consider virtualization for very large datasets

Checkbox Issues

  • Verify CheckBoxSelectionMode is not None
  • Check AllowRecursiveChecking setting for grouped lists
  • Use ItemChecking / ItemChecked events, not SelectionChanged
  • Ensure CheckedItems vs SelectedItems distinction

Next Steps: Navigate to specific reference documents based on your implementation needs. Start with getting-started.md for initial setup, then explore data binding, selection, and data operations as needed.

平台分布

Codex

36.73%
按下载量换算83

Claude

31.05%
按下载量换算70

Cursor

17.12%
按下载量换算39

Gemini CLI

8.82%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills