Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-editable-listboxsyncfusion winforms 可编辑列表框

Agent Skill

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

总安装

682

周安装

29

GitHub Stars

公开资料未说明

下载量

239
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态进行信息整理。
  • 通过 GitHub 仓库安装,需参考原始 README 了解功能实现。
  • 安装前建议确认权限范围,防止触发意外的网络或文件操作。
  • 适用于项目协作与代码变更管理。

SKILL.md

Implementing Syncfusion Windows Forms EditableList

A comprehensive guide for implementing and customizing the EditableList control - a powerful list box component that enables inline editing, item management, and rich customization options for Windows Forms applications.

When to Use This Skill

Use this skill when the user needs to:

  • Implement an EditableList control in Windows Forms applications
  • Enable inline editing of list items directly within the list box
  • Manage dynamic lists where users can add, edit, or delete items at runtime
  • Populate lists from DataSource or manual entry
  • Integrate AutoComplete functionality with the editing TextBox
  • Customize appearance including embedded controls, scrolling, and layout
  • Apply modern themes (Metro, Office2016) to the editable list
  • Handle editing events and user interactions
  • Configure dock padding and control sizing
  • Set up embedded controls (Button, TextBox, ListBox) within EditableList

The EditableList control is ideal for scenarios requiring user-editable collections, form data entry, tag management, or any interface where inline list editing improves usability.

Component Overview

The EditableList (also known as Editable ListBox) is a composite control that combines a ListBox, TextBox, and optional Button to provide inline editing capabilities. Users can select items and edit them directly within the list interface.

Key Capabilities:

  • Inline Editing: Click an item to edit it directly in-place
  • DataSource Binding: Connect to data sources or populate manually
  • Embedded Controls: Access and configure child Button, TextBox, and ListBox
  • AutoComplete Integration: Add intelligent text suggestions during editing
  • Modern Styling: Support for Metro and Office2016 themes with color schemes
  • Flexible Layout: AutoScroll, dock padding, and size configuration
  • Visual Customization: Control button visibility and appearance

Embedded Controls:

  • Button: Optional button for additional actions (controlled by WantButton property)
  • TextBox: Used for inline editing of selected items
  • ListBox: Contains the list items with full ListBox functionality

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly deployment
  • Adding control via Visual Studio designer
  • Adding control programmatically via code
  • Required namespace imports
  • Basic initialization and setup
  • Understanding embedded controls

Populating and Editing the List

📄 Read: references/populating-editing.md

  • Populating via DataSource binding
  • Manual population through property editor
  • Runtime editing workflow
  • Item selection and inline editing process
  • ListBox.Items manipulation
  • Complete code examples (C# and VB.NET)

Appearance and Behavior Configuration

📄 Read: references/appearance-behavior.md

  • Embedded controls overview and access
  • AutoScroll configuration for large lists
  • Dock padding for layout control
  • WantButton property for button visibility
  • Control sizing and positioning
  • Practical configuration examples

AutoComplete Integration

📄 Read: references/autocomplete-integration.md

  • Setting up AutoComplete component
  • Associating AutoComplete with EditableList TextBox
  • DataSource configuration for suggestions
  • AutoCompleteModes options
  • Form load event implementation
  • Complete integration example

Styling and Theming

📄 Read: references/styling-themes.md

  • Visual styles (Default, Metro, Office2016)
  • Applying Style property
  • Office2016 color schemes (Colorful, White, DarkGray, Black)
  • Theme consistency across forms
  • Complete styling code examples

Quick Start

Basic Implementation (Designer)

  1. Add Control via Toolbox:

- Open your form in Visual Studio designer - Locate EditableList in the toolbox (Syncfusion Controls section) - Drag and drop onto your form - Assemblies are added automatically

  1. Configure in Properties Window:

- Set Size, Location, and other basic properties - Expand ListBox property to configure items - Set Style property for modern appearance

Basic Implementation (Code)

using Syncfusion.Windows.Forms.Tools;

namespace MyWinFormsApp
{
    public partial class Form1 : Form
    {
        private EditableList editableList1;

        public Form1()
        {
            InitializeComponent();
            SetupEditableList();
        }

        private void SetupEditableList()
        {
            // Create and initialize
            this.editableList1 = new EditableList();
            this.editableList1.Location = new System.Drawing.Point(20, 20);
            this.editableList1.Size = new System.Drawing.Size(300, 200);

            // Populate items
            this.editableList1.ListBox.Items.AddRange(new object[] {
                "Item 1",
                "Item 2",
                "Item 3"
            });

            // Apply modern style
            this.editableList1.Style = Syncfusion.Windows.Forms.Appearance.Office2016;

            // Add to form
            this.Controls.Add(this.editableList1);
        }
    }
}
Imports Syncfusion.Windows.Forms.Tools

Public Class Form1
    Private editableList1 As EditableList

    Public Sub New()
        InitializeComponent()
        SetupEditableList()
    End Sub

    Private Sub SetupEditableList()
        ' Create and initialize
        Me.editableList1 = New EditableList()
        Me.editableList1.Location = New System.Drawing.Point(20, 20)
        Me.editableList1.Size = New System.Drawing.Size(300, 200)

        ' Populate items
        Me.editableList1.ListBox.Items.AddRange(New Object() {
            "Item 1",
            "Item 2",
            "Item 3"
        })

        ' Apply modern style
        Me.editableList1.Style = Syncfusion.Windows.Forms.Appearance.Office2016

        ' Add to form
        Me.Controls.Add(Me.editableList1)
    End Sub
End Class

Common Patterns

Pattern 1: DataSource Binding

// Bind to a data source
List<string> dataSource = new List<string>();
dataSource.Add("Product A");
dataSource.Add("Product B");
dataSource.Add("Product C");

this.editableList1.ListBox.DataSource = dataSource;

Pattern 2: Runtime Editing Workflow

User Interaction:
1. Click on an item to select it
2. Click again to enter edit mode (TextBox appears)
3. Edit the text in the TextBox
4. Change focus (click elsewhere, press Tab)
5. List updates automatically with edited value

Pattern 3: Enable AutoScroll for Large Lists

// Enable automatic scrollbars
this.editableList1.AutoScroll = true;
this.editableList1.AutoScrollMargin = new System.Drawing.Size(2, 2);
this.editableList1.AutoScrollMinSize = new System.Drawing.Size(3, 3);

Pattern 4: Show Button While Editing

// Display button on the right during editing
this.editableList1.WantButton = true;

// Handle button click if needed
this.editableList1.Button.Click += (s, e) => {
    MessageBox.Show("Button clicked!");
};

Pattern 5: Apply Modern Theme

// Apply Office2016 theme with color scheme
this.editableList1.Style = Syncfusion.Windows.Forms.Appearance.Office2016;
this.editableList1.Office2016ColorScheme = ScrollBarOffice2016ColorScheme.Colorful;

Key Properties and Events

Essential Properties

PropertyDescriptionExample
ListBoxAccess to embedded ListBox controleditableList1.ListBox.Items.Add("Item")
TextBoxAccess to editing TextBox controleditableList1.TextBox.Text
ButtonAccess to optional button controleditableList1.Button.Click += Handler
WantButtonShow/hide button during editingeditableList1.WantButton = true
AutoScrollEnable automatic scrollbarseditableList1.AutoScroll = true
StyleVisual appearance styleeditableList1.Style = Appearance.Office2016
DockPaddingPadding for docked controlseditableList1.DockPadding.All = 5

Common Events

Access events through embedded controls:

// ListBox events
this.editableList1.ListBox.SelectedIndexChanged += ListBox_SelectedIndexChanged;
this.editableList1.ListBox.Click += ListBox_Click;

// TextBox events
this.editableList1.TextBox.TextChanged += TextBox_TextChanged;
this.editableList1.TextBox.Leave += TextBox_Leave;

// Button events (if WantButton = true)
this.editableList1.Button.Click += Button_Click;

Common Use Cases

Use Case 1: Tag Management System

User needs to manage tags where users can add, edit, and remove tags inline. → Use DataSource binding + enable inline editing + add item selection handling

Use Case 2: Dynamic Category List

User wants a settings form where categories can be edited directly in the list. → Use manual item population + WantButton for delete functionality + style for modern UI

Use Case 3: Email Recipient List

User needs an editable list of email addresses with autocomplete suggestions. → Use AutoComplete integration + DataSource for suggestions + validation on TextBox.Leave

Use Case 4: Todo List Manager

User wants a simple todo list with inline editing capabilities. → Use basic setup + runtime editing + handle ListBox events for task completion

Use Case 5: Preferences Editor

User needs a form where users can edit configuration values in a list format. → Use DataSource binding + themed appearance + dock padding for layout

Tips and Best Practices

  1. Use DataSource for Dynamic Data: Bind to collections for automatic updates
  2. Handle TextBox.Leave Event: Validate input when editing completes
  3. Enable AutoScroll: For lists with many items to prevent overflow
  4. Apply Consistent Theming: Use the same Style across all controls in your form
  5. Access Embedded Controls: Configure Button, TextBox, ListBox for full customization
  6. Consider AutoComplete: Improves user experience for predictable inputs
  7. Test Editing Flow: Ensure click-to-edit behavior works smoothly
  8. Set Appropriate Sizes: Give adequate height for comfortable item viewing and editing

Troubleshooting

Issue: Items not editable → Ensure proper focus handling and check if TextBox is accessible

Issue: Scrollbars not appearing → Set AutoScroll = true and configure AutoScrollMinSize

Issue: Theme not applying → Verify Style property is set and Office2016ColorScheme for Office2016 style

Issue: AutoComplete not working → Check AutoComplete.SetAutoComplete() is called with correct parameters in Form_Load

Issue: Button not visible during editing → Set WantButton = true property

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.88%
按下载量换算86

Claude

26.99%
按下载量换算65

Cursor

20.58%
按下载量换算49

Gemini CLI

8.69%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills