Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-winforms-autocomplete(同步融合 winform 自动完成)

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

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

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

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

用于查找和检索 WinForms 自动完成组件相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词定位候选结果。通过 GitHub 安装,需结合来源仓库文档使用。建议确认权限范围和维护状态后再使用。

syncfusion-winforms-autocomplete 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

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-autocomplete 怎么安装?

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

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

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

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

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-winforms-autocomplete 是免费的吗?

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

syncfusion-winforms-autocomplete 用的人多吗?

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

syncfusion-winforms-autocomplete 安全吗?

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

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

值得选的地方

  • 同时适配 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-autocomplete

同步融合 winform 自动完成 · 本页

682—需要联网未明确通过

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

SKILL.md 原文

Syncfusion WinForms AutoComplete Control

The AutoComplete control provides auto-suggestion functionality for text input fields in Windows Forms applications. It displays a dropdown list of suggestions as users type, enabling faster data entry and improved user experience with intelligent text completion.

When to Use This Skill

Use the AutoComplete control when you need to:

  • Add auto-suggestion to text input fields
  • Implement type-ahead search functionality
  • Create search boxes with intelligent suggestions
  • Enable URL or email address autocomplete
  • Build forms with frequently repeated input
  • Provide filtered suggestions from large datasets
  • Implement custom dropdown behaviors with multi-column displays

Installation

NuGet Installation

Install-Package Syncfusion.Tools.Windows

Assembly Reference

Add reference to:

  • Syncfusion.Tools.Windows.dll
  • Syncfusion.Shared.Base.dll

Quick Start

Basic Setup

using System;
using System.Windows.Forms;
using Syncfusion.Windows.Forms.Tools;

namespace AutoCompleteDemo
{
    public partial class Form1 : Form
    {
        private AutoComplete autoComplete1;
        private TextBox textBox1;

        public Form1()
        {
            InitializeComponent();

            // Create AutoComplete control
            autoComplete1 = new AutoComplete();
            textBox1 = new TextBox();
            textBox1.Location = new System.Drawing.Point(20, 20);
            textBox1.Size = new System.Drawing.Size(200, 20);
            autoComplete1.ParentForm = this;

            // Add data source
            autoComplete1.DataSource = new string[]
            {
                "Australia",
                "Austria",
                "Brazil",
                "Canada",
                "China"
            };
            autoComplete1.SetAutoComplete(textBox1, AutoCompleteModes.AutoSuggest);

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

Designer Setup

  1. Drag AutoComplete control from Toolbox to Form
  2. Set the ParentForm property to current form
  3. Configure DataSource through Properties window or code
  4. Customize appearance and behavior through Properties

Core Concepts

Data Source

The AutoComplete control can bind to various data sources:

  • String arrays
  • Generic collections (List, ArrayList)
  • DataTable and DataSet
  • Custom objects with IList interface

Parent Form

The ParentForm property must be set to enable the control to display the dropdown suggestion list. This associates the AutoComplete with the parent form's container.

Filtering

Built-in filtering automatically matches user input against the data source, displaying relevant suggestions as the user types.

Navigation Guide

🚀 Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly references
  • Creating WinForms application
  • Adding AutoComplete control via Designer
  • Adding AutoComplete control programmatically
  • Basic configuration and setup
  • Running the application

📊 Working with Data Sources

📄 Read: references/datasource.md

  • Binding to string collections
  • Binding to DataTable and DataSet
  • Binding to custom objects
  • Multiple data sources
  • Setting data source at design time
  • Dynamic data source updates

🎨 Customization

📄 Read: references/customization.md

  • Visual styles and themes
  • Font and color customization
  • Border styles
  • Dropdown appearance
  • Auto-size configuration
  • Column appearance in dropdown
  • Highlight matching text
  • Custom rendering

🔧 Working with AutoComplete

📄 Read: references/working-with-autocomplete.md

  • Auto-complete modes (Suggest, Append, SuggestAppend)
  • Character casing
  • Loading behavior
  • Auto-population
  • Default suggestions
  • Clearing and resetting values
  • Programmatic selection

📑 Multi-Column Dropdown

📄 Read: references/multicolumn-dropdown.md

  • Enabling multi-column mode
  • Column configuration
  • Column headers
  • Column width and sizing
  • Displaying multiple fields
  • Custom column formatting
  • Images in dropdown items
  • Grid-like appearance

⚡ Events

📄 Read: references/autocomplete-events.md

  • AutoCompleteCustomize event
  • AutoCompleteValueChanged event
  • BeforeCustomization event
  • Handling user selections
  • Validating input
  • Custom event handlers

🎯 Overview

📄 Read: references/overview.md

  • Feature overview
  • Use cases and scenarios
  • Component architecture
  • Performance considerations
  • Best practices

Common Patterns

Pattern 1: Simple String AutoComplete

AutoComplete autoComplete1 = new AutoComplete();
TextBox textBox1 = new TextBox();
textBox1.Location = new System.Drawing.Point(20, 20);
textBox1.Size = new System.Drawing.Size(200, 20);
autoComplete1.ParentForm = this;

autoComplete1.SetAutoComplete(textBox1, AutoCompleteModes.AutoSuggest);

// Add string data
autoComplete1.DataSource = new string[]
{
    "John", "Jane", "Bob", "Alice", "Charlie"
};

this.Controls.Add(textBox1);

Pattern 2: DataTable Binding

AutoComplete autoComplete1 = new AutoComplete();
TextBox textBox1 = new TextBox();
textBox1.Location = new System.Drawing.Point(20, 50);
textBox1.Size = new System.Drawing.Size(200, 20);
autoComplete1.ParentForm = this;

// Create DataTable
DataTable dt = new DataTable();
dt.Columns.Add("Name", typeof(string));
dt.Columns.Add("Email", typeof(string));
dt.Rows.Add("John Doe", "john@example.com");
dt.Rows.Add("Jane Smith", "jane@example.com");

autoComplete1.DataSource = dt;

this.Controls.Add(textBox1);

Pattern 3: Multi-Column Display

AutoComplete autoComplete1 = new AutoComplete();
TextBox textBox1 = new TextBox();
textBox1.Location = new System.Drawing.Point(20, 50);
textBox1.Size = new System.Drawing.Size(200, 20);
autoComplete1.ParentForm = this;
autoComplete1.Style = AutoCompleteStyle.Default;

// Create DataTable with multiple columns
DataTable dt = new DataTable();
dt.Columns.Add("Name", typeof(string));
dt.Columns.Add("Country", typeof(string));
dt.Columns.Add("City", typeof(string));

dt.Rows.Add("John Doe", "USA", "New York");
dt.Rows.Add("Jane Smith", "UK", "London");
dt.Rows.Add("Bob Johnson", "Canada", "Toronto");

autoComplete1.DataSource = dt;

// Configure columns
autoComplete1.Columns.Add(new AutoCompleteDataColumnInfo("Name", 100, true));
autoComplete1.Columns.Add(new AutoCompleteDataColumnInfo("Country", 80, true));
autoComplete1.Columns.Add(new AutoCompleteDataColumnInfo("City", 80, true));

this.Controls.Add(textBox1);

Pattern 4: Custom Filtering with Events

AutoComplete autoComplete1 = new AutoComplete();
TextBox textBox1 = new TextBox();
textBox1.Location = new System.Drawing.Point(20, 50);
textBox1.Size = new System.Drawing.Size(200, 20);
autoComplete1.ParentForm = this;
autoComplete1.DataSource = GetDataSource();
// Attach AutoComplete to the TextBox
autoComplete1.SetAutoComplete(textBox1, AutoCompleteModes.AutoSuggest);

// Subscribe when the dropdown is displayed so the popup list is initialized
autoComplete1.DropDownDisplayed += (s, e) =>
{
    var lv = autoComplete1.AutoCompletePopup.Controls[0] as VirtualListView;
    if (lv != null)
    {
        lv.DrawItem -= ItemsListView_DrawItem;
        lv.DrawItem += ItemsListView_DrawItem;
    }
};

void ItemsListView_DrawItem(object sender, DrawListViewItemEventArgs e)
{
    if (e.Item != null)
    {
        e.DrawBackground();
        var text = e.Item.Text;
        using (var brush = new SolidBrush(e.Item.ForeColor))
        {
            e.Graphics.DrawString(text, e.Item.Font ?? e.Item.ListView.Font, brush, e.Bounds);
        }
        e.DrawFocusRectangle();
    }
}

this.Controls.Add(textBox1);

Pattern 5: URL/Email AutoComplete

AutoComplete autoComplete1 = new AutoComplete();
TextBox textBox1 = new TextBox();
textBox1.Location = new System.Drawing.Point(20, 50);
textBox1.Size = new System.Drawing.Size(200, 20);
autoComplete1.ParentForm = this;
// Common URLs
autoComplete1.DataSource = new string[]
{
    "http://www.syncfusion.com",
    "http://www.google.com",
    "http://www.microsoft.com",
    "http://www.github.com"
};

// Enable append mode for URL completion
autoComplete1.SetAutoComplete(textBox1, AutoCompleteModes.Both);

this.Controls.Add(textBox1);

Key Properties Reference

PropertyTypeDefaultDescription
DataSourceobjectnullData source for suggestions (array, DataTable, etc.)
ParentFormFormnullParent form containing the control (required)
AutoCompleteModeAutoCompleteModeSuggestBehavior mode: None, Suggest, Append, SuggestAppend
DisplayMemberstring""Property name to display from data source
ValueMemberstring""Property name for internal value
ColumnsAutoCompleteDataColumnInfoCollection-Column configuration for multi-column display
StyleAutoCompleteStyleDefaultVisual style of the control
Textstring""Current text value
SelectedValueobjectnullCurrently selected value
CharacterCasingCharacterCasingNormalText casing: Normal, Upper, Lower
LoadOnDemandboolfalseLoad suggestions on demand
AutoCompleteControlAutoCompletePopup-Access to underlying popup control

Events

Common events for the AutoComplete control:

  • AutoCompleteValueChanged: Triggered when selected value changes
  • AutoCompleteCustomize: Before displaying the dropdown list
  • BeforeCustomization: Before applying customization
  • TextChanged: When text content changes
  • SelectedIndexChanged: When selection changes
  • GotFocus: When control receives focus
  • LostFocus: When control loses focus

Best Practices

  1. Always Set ParentForm: The ParentForm property is mandatory for the dropdown to work properly
  2. Use Appropriate Mode: Choose the right AutoCompleteMode:

- Suggest: Show dropdown only - Append: Auto-complete text only - SuggestAppend: Both dropdown and text completion

  1. Optimize Large Datasets: Use LoadOnDemand for large data sources to improve performance
  2. Multi-Column for Complex Data: Use multi-column display when showing related information
  3. Handle Events Properly: Use AutoCompleteValueChanged to respond to user selections
  4. Clear Data Appropriately: Call ResetItems() or set DataSource = null to clear suggestions
  5. Consider Character Casing: Set CharacterCasing based on data type (e.g., Upper for state codes)
  6. Theme Consistency: Use matching visual styles across all Syncfusion controls

Visual Styles

The control supports multiple visual themes:

  • Default
  • Office2016Colorful
  • Office2016White
  • Office2016Black
  • Office2016DarkGray
  • Metro
  • Office2007
  • Office2010
  • VS2010
autoComplete1.Style = AutoCompleteStyle.Office2016Colorful;

Framework Support

  • .NET Framework 4.5 and above
  • .NET 6.0,.NET 7.0,.NET 8.0 (Windows)
  • .NET Core 3.1 (Windows)

Additional Resources

Troubleshooting

Issue: Dropdown doesn't appear

  • Ensure ParentForm property is set
  • Check that DataSource contains valid data
  • Verify control is added to form's Controls collection

Issue: Multi-column not displaying

  • Set appropriate AutoCompleteStyle
  • Add columns to Columns collection
  • Ensure DataSource has matching column names

Issue: Performance issues with large datasets

  • Enable LoadOnDemand property
  • Reduce the number of columns displayed
  • Consider filtering data source before binding

Issue: Styling not applied

  • Ensure Syncfusion theme DLLs are referenced
  • Apply style after setting DataSource
  • Check for conflicting custom drawing code

平台分布

Codex

36.06%
按下载量换算86

Claude

31%
按下载量换算74

Cursor

19.67%
按下载量换算47

Gemini CLI

10%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills