Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-multicolumn-listbox同步融合 winforms 多列列表框

Agent Skill

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

总安装

175

周安装

7

GitHub Stars

公开资料未说明

下载量

57
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

支持多列数据显示的选择列表框,兼顾信息密度与可读性平衡。

  • 常用于订单详情、规格对比或批量操作前的数据预览环节。
  • 技能提供列宽自适应与手动调整双重模式,适应不同屏幕尺寸。
  • 大量条目渲染时建议启用虚拟滚动,避免内存占用过高。syncfusion-winforms-multicolumn-listbox 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 打印输出场景需单独处理分页断行逻辑,防止跨页内容截断。

SKILL.md

Implementing GridList Control

When to Use This Skill

Use this skill when the user needs to:

  • Display a list of items in multi-column format with headers
  • Create data-bound list controls in Windows Forms applications
  • Implement single or multiple selection in list views
  • Build multi-column dropdown controls with ComboBoxBase
  • Customize list appearance (colors, grid lines, headers, backgrounds)
  • Handle large datasets with virtual mode
  • Add tooltips, formulas, or touch support to list controls
  • Migrate from standard ListBox to advanced multi-column list view

Component Overview

The GridListControl is a multi-column list view component for Windows Forms that provides rich data display capabilities beyond the standard ListBox control. It combines grid-like functionality with list behavior, offering powerful features for desktop applications.

Key Capabilities:

  • Multi-column display with customizable headers
  • Data binding to any data source (ArrayList, DataTable, custom objects)
  • Three selection modes: single, multi-simple, multi-extended
  • Extensive styling (colors, grid lines, backgrounds, images)
  • ComboBoxBase integration for dropdown scenarios
  • Virtual mode for high-performance large datasets
  • Formula support for calculated values
  • Touch and keyboard navigation
  • Column/row resizing
  • Cell-level tooltips

Key Features

  • Data Populating - Bind to any data source including databases, collections, and custom objects
  • Styling - Customize cell styles, colors, fonts, grid lines, and backgrounds
  • Selection - Single and multiple row selections with keyboard support
  • Tooltip - Display hover text on cells
  • Resizing - Auto-resize columns and rows based on content
  • Visual Styles - Multiple built-in themes and custom styling
  • Virtual Mode - Load data on-demand for optimal performance
  • Formulas - Support algebraic and arithmetic expressions
  • Drop-down - Combine with ComboBoxBase for multi-column dropdowns
  • Touch Support - Selection and swiping on touch devices

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly deployment and dependencies
  • Adding GridListControl through designer (drag-drop, SqlDataAdapter wizard)
  • Adding GridListControl through code (programmatic setup)
  • Basic configuration properties (DataSource, MultiColumn, ShowColumnHeader)
  • Initial data binding examples
  • Designer vs code approach comparison

Data Binding and Selection Modes

📄 Read: references/data-binding-selection.md

  • Data binding overview and DataSource property
  • Binding to ArrayList and custom objects
  • Database binding with DataTable/DataSet
  • Selection mode types (One, MultiSimple, MultiExtended)
  • SelectionMode property configuration
  • Keyboard navigation in multi-extended mode
  • Getting selected items (SelectedIndex, SelectedItem)

Customization and Styling

📄 Read: references/customization.md

  • TransparentBackground property
  • Grid line display (DisplayVertLines, DisplayHorzLines)
  • GridLineColor customization
  • Header appearance (Buttons3D, HeaderBackColor, HeaderTextColor)
  • Control BackColor and BackgroundImage
  • Visual styles and theming
  • Touch support configuration
  • Column and row resizing
  • Tooltip configuration

ComboBoxBase Integration

📄 Read: references/combobox-integration.md

  • Combining GridListControl with ComboBoxBase
  • ListControl property setup
  • Creating multi-column dropdown effects
  • DropDownWidth configuration
  • Use cases for dropdown lists
  • Integration code examples

Quick Start Example

Basic Multi-Column List with Data Binding

using Syncfusion.Windows.Forms.Grid;
using System.Collections;

// Create data source
ArrayList states = new ArrayList();
states.Add(new StateInfo { LongName = "California", ShortName = "CA" });
states.Add(new StateInfo { LongName = "Texas", ShortName = "TX" });
states.Add(new StateInfo { LongName = "New York", ShortName = "NY" });

// Configure GridListControl
gridListControl1.DataSource = states;
gridListControl1.MultiColumn = true;
gridListControl1.ShowColumnHeader = true;
gridListControl1.SelectionMode = SelectionMode.One;
gridListControl1.FillLastColumn = true;

// Custom class for data
public class StateInfo
{
    public string LongName { get; set; }
    public string ShortName { get; set; }
}

Multi-Column Dropdown with ComboBoxBase

// Setup GridListControl
gridListControl1.DataSource = dataSource;
gridListControl1.MultiColumn = true;

// Attach to ComboBoxBase for dropdown
comboBoxBase1.ListControl = gridListControl1;

Common Patterns

Designer-Based Setup

  1. Drag SqlDataAdapter from toolbox → Configure database connection
  2. Generate DataSet from adapter
  3. Drag GridListControl to form
  4. Set DataSource property to the DataSet
  5. Configure display properties in Properties window

Code-Based Setup

  1. Create data source (ArrayList, List, DataTable)
  2. Initialize GridListControl
  3. Set DataSource property
  4. Configure MultiColumn, ShowColumnHeader
  5. Set SelectionMode
  6. Optionally customize appearance

Virtual Mode for Large Datasets

// Enable virtual mode for performance
gridListControl1.VirtualMode = true;

// Implement on-demand data loading
// (Refer to customization.md for details)

Key Properties

Data and Display

  • DataSource - Sets the data source for the list (ArrayList, DataTable, IList)
  • MultiColumn - Enables multi-column display (default: false)
  • ShowColumnHeader - Shows/hides column headers (default: false)
  • FillLastColumn - Makes last column fill remaining space (default: false)

Selection

  • SelectionMode - Controls selection behavior:

- SelectionMode.One - Single row selection only - SelectionMode.MultiSimple - Multiple rows, click to toggle - SelectionMode.MultiExtended - Multiple rows with SHIFT/CTRL/arrows

Appearance

  • BackColor - Background color of the control
  • TransparentBackground - Makes background transparent (default: false)
  • HeaderBackColor - Background color of column headers
  • HeaderTextColor - Text color of column headers
  • BackgroundImage - Background image for the control

Grid Lines

  • Properties.DisplayHorzLines - Shows horizontal grid lines
  • Properties.DisplayVertLines - Shows vertical grid lines
  • Grid.Properties.GridLineColor - Color of grid lines
  • Properties.Buttons3D - Renders 3D-style headers

Advanced

  • VirtualMode - Enables on-demand data loading for performance
  • ImageList - Associates images with list items
  • ToolTip - Configures cell tooltips

Common Use Cases

1. Database Record Viewer

Display database records in a multi-column list with headers, allowing users to browse and select records.

When to use: Data browsing, record selection, master-detail views

2. Multi-Column Dropdown Selector

Combine with ComboBoxBase to create dropdown lists showing multiple columns (e.g., customer name + ID + city).

When to use: Complex selection scenarios, lookup fields, data-rich pickers

3. Categorized Item Lists

Display items with multiple attributes (name, category, price, status) in a structured list format.

When to use: Product catalogs, inventory management, order lists

4. Selection Interfaces

Build interfaces requiring single or multiple item selection with visual feedback.

When to use: Batch operations, multi-select forms, checklist UIs

5. Touch-Enabled Lists

Create touch-friendly list controls for tablet or touch-screen applications.

When to use: Kiosk applications, tablet apps, touch-optimized UIs

6. Large Dataset Browsers

Use virtual mode to efficiently display and navigate datasets with thousands of items.

When to use: Log viewers, large database tables, high-volume data

Decision Guide

Choose GridListControl when you need:

  • ✅ Multi-column list display
  • ✅ Column headers
  • ✅ Data binding to objects/databases
  • ✅ Advanced selection modes
  • ✅ Grid-like styling
  • ✅ ComboBoxBase dropdown integration
  • ✅ Virtual mode for performance

Use standard ListBox when:

  • ❌ Simple single-column list is sufficient
  • ❌ No headers needed
  • ❌ Minimal styling requirements
  • ❌ Simple data display only

Best Practices

  1. Performance

- Use virtual mode for datasets with 1000+ items - Disable grid lines for faster rendering if not needed - Use BeginUpdate/EndUpdate when changing multiple properties

  1. Data Binding

- Validate data source before binding - Use strongly-typed collections (List) for type safety - Handle data changes appropriately (refresh, rebind)

  1. Selection

- Choose appropriate SelectionMode for user workflow - MultiExtended is most flexible but requires user training - One is simplest for single-selection scenarios

  1. Styling

- Apply consistent visual theme across application - Use TransparentBackground carefully (performance impact) - Test custom colors for readability

  1. Integration

- When using with ComboBoxBase, configure GridList first - Ensure data source is ready before binding - Handle selection events in parent form, not ComboBoxBase

Troubleshooting

Common Issues:

GridListControl not showing data

  • Verify DataSource is set and not null
  • Check if MultiColumn = true for multi-column display
  • Ensure data source has items

Headers not visible

  • Set ShowColumnHeader = true
  • Check if header colors match background

Selection not working

  • Verify SelectionMode is not None
  • Check if control is enabled
  • Ensure focus is on control

Performance issues

  • Enable virtual mode for large datasets
  • Disable unnecessary features (grid lines, tooltips)
  • Use BeginUpdate/EndUpdate for bulk changes

For detailed troubleshooting and advanced scenarios, refer to the reference files.

Next Steps

Start with Getting Started to install and configure the GridListControl, then explore specific features through the navigation guide above based on your application requirements.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.49%
按下载量换算20

Claude

32.27%
按下载量换算18

Cursor

19.35%
按下载量换算11

Gemini CLI

8.63%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills