Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-wpf-autocomplete同步融合 wpf 自动完成

Agent Skill

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

总安装

941

周安装

40

GitHub Stars

2

下载量

330
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

Syncfusion WPF 自动完成控件,用于实时搜索建议与输入提示。

  • 适用于研究检索类任务中的关键词匹配与候选生成。
  • 通过 GitHub 仓库安装,兼容 Codex、Claude 等 AI 工具。
  • 使用前应确认是否启用本地缓存或远程查询服务。
  • 建议查阅原始 SKILL.md 了解模糊匹配算法与性能调优选项。

SKILL.md

Implementing WPF Autocomplete (SfTextBoxExt)

A comprehensive guide for implementing the Syncfusion WPF Autocomplete control (SfTextBoxExt) that provides intelligent text suggestions, advanced filtering, multi-selection capabilities, and extensive customization options for enhanced user input experiences.

When to Use This Skill

Use this skill when user need to:

  • Implement autocomplete textbox with predictive text suggestions
  • Add search functionality with filtered dropdown suggestions
  • Enable multi-selection with token or delimiter modes
  • Create type-ahead input fields with intelligent filtering
  • Build searchable dropdowns with custom data sources
  • Implement tag/token selection UI for multiple items
  • Add suggestion boxes to text input controls
  • Configure advanced filtering with 18+ filter modes
  • Customize text input appearance with watermarks and templates
  • Handle selection events and retrieve selected values
  • Support diacritic-insensitive search for international text
  • Highlight matching text in suggestion lists

This skill covers the complete SfTextBoxExt control with detailed implementation guides for all features including data binding, filtering strategies, selection handling, dropdown customization, and advanced capabilities.

Component Overview

SfTextBoxExt is an enhanced TextBox control that extends standard WPF TextBox functionality with autocomplete capabilities. It provides intelligent suggestions based on user input, supports multiple filtering modes, and enables both single and multi-selection scenarios.

Key Capabilities

Core Features:

  • 18+ Filtering Modes: StartsWith, EndsWith, Contains, Equals, Custom, and more
  • Multiple AutoComplete Modes: Suggest, Append, SuggestAppend
  • Multi-Selection Support: Token and Delimiter modes
  • Rich Data Binding: Support for simple and complex data types
  • Custom Templates: AutoComplete items, watermark, no-results templates
  • Event-Driven: Selection, popup, and suggestion change events

Advanced Features:

  • Diacritic Sensitivity: Search across languages with accent-insensitive filtering
  • Text Highlighting: Visual indication of matching text
  • Custom Filtering: Implement multi-path or complex filter logic
  • Popup Configuration: Placement, delay, height, and behavior settings
  • Performance Optimization: Minimum prefix characters, maximum suggestions

UI Customization:

  • Watermark Support: Placeholder text and custom templates
  • Visual Styling: Font, color, background customization
  • Token Appearance: Custom token templates with images
  • Dropdown Styling: Background, selection color, item templates
  • Button Controls: Optional dropdown and clear buttons

Documentation and Navigation Guide

This skill uses a progressive disclosure pattern. Start with SKILL.md for overview and navigation, then read specific reference files based on your implementation needs.

Getting Started

📄 Read: references/getting-started.md

When to read: Setting up SfTextBoxExt for the first time, initial implementation

What's covered:

  • Assembly deployment and NuGet package installation
  • Creating WPF application with SfTextBoxExt
  • Adding control via designer, XAML, and C#
  • Populating AutoComplete with data sources
  • Data models and ViewModel setup
  • AutoComplete modes (Suggest, Append, SuggestAppend, None)
  • Basic selection configuration
  • Theme support and styling

AutoComplete and Filtering

📄 Read: references/autocomplete-filtering.md

When to read: Implementing filtering logic, customizing suggestion behavior

What's covered:

  • AutoCompleteSource property and data binding
  • SearchItemPath for custom data objects
  • AutoCompleteItemTemplate for visual customization
  • SuggestionMode options (18+ filter modes including StartsWith, EndsWith, Contains, Equals, Custom)
  • MinimumPrefixCharacters configuration
  • IgnoreCase for case-insensitive filtering
  • ImageMemberPath for displaying images
  • MaximumSuggestionsCount to limit results
  • NoResultsFoundTemplate customization
  • FilterSuggestions method for manual filtering
  • SuggestionsChanged event handling

Selection and Value Retrieval

📄 Read: references/selection.md

When to read: Implementing single or multi-selection, retrieving selected values

What's covered:

  • MultiSelectMode options (None, Token, Delimiter)
  • SelectedItem property for single selection
  • SelectedItems collection for multi-selection
  • Token representation and layout
  • TokensWrapMode (Wrap, None) configuration
  • EnableAutoSize for dynamic height
  • Delimiter mode with custom separators
  • Delimiter property configuration
  • SelectedValue and ValueMemberPath
  • SuggestionIndex for selected item index
  • ImageMemberPath for token images
  • SelectedItemChanged event handling

Dropdown Customization

📄 Read: references/dropdown-customization.md

When to read: Customizing suggestion popup appearance and behavior

What's covered:

  • DropDownBackground for suggestion box styling
  • SuggestionBoxPlacement options (Bottom, Top, None)
  • MaximumDropDownHeight configuration
  • ShowSuggestionsOnFocus behavior
  • PopupDelay for delayed display
  • SelectionBackgroundColor for selected items
  • AutoHighlightMatchedItem API
  • SuggestionPopupOpened event
  • SuggestionPopupClosed event
  • Complete dropdown styling examples

TextBox Customization

📄 Read: references/textbox-customization.md

When to read: Customizing TextBox appearance, adding watermark or buttons

What's covered:

  • Watermark property for placeholder text
  • WatermarkTemplate for custom placeholder UI
  • Text styling (FontSize, FontWeight, FontFamily)
  • ShowDropDownButton for dropdown icon
  • ShowClearButton for clear functionality
  • Visual customization patterns
  • Template customization examples

Advanced Features

📄 Read: references/advanced-features.md

When to read: Implementing diacritic search, text highlighting, custom filters

What's covered:

  • Diacritic sensitivity with IgnoreDiacritic
  • TextHighlightMode (FirstOccurrence, MultiOccurrence)
  • HighlightedTextColor configuration
  • HighlightedTextStyle customization
  • Multipath search implementation
  • Custom SuggestionMode setup
  • Filter property for custom filtering logic
  • Custom filter implementation examples
  • Dispose method for resource cleanup
  • Performance optimization tips

Quick Start Example

Basic AutoComplete with Suggestions

<Window xmlns:editors="http://schemas.syncfusion.com/wpf">
    <Window.DataContext>
        <local:EmployeeViewModel/>
    </Window.DataContext>

    <editors:SfTextBoxExt
        Width="300"
        Height="40"
        Watermark="Search employees..."
        SearchItemPath="Name"
        AutoCompleteMode="Suggest"
        SuggestionMode="Contains"
        AutoCompleteSource="{Binding Employees}" />
</Window>
// ViewModel
public class EmployeeViewModel
{
    public List<Employee> Employees { get; set; }

    public EmployeeViewModel()
    {
        Employees = new List<Employee>
        {
            new Employee { Name = "John Doe", Email = "john@example.com" },
            new Employee { Name = "Jane Smith", Email = "jane@example.com" },
            new Employee { Name = "Mike Johnson", Email = "mike@example.com" }
        };
    }
}

// Model
public class Employee
{
    public string Name { get; set; }
    public string Email { get; set; }
}

Multi-Selection with Tokens

<editors:SfTextBoxExt
    Width="400"
    Height="60"
    Watermark="Select multiple items..."
    SearchItemPath="Name"
    AutoCompleteMode="Suggest"
    MultiSelectMode="Token"
    TokensWrapMode="Wrap"
    EnableAutoSize="True"
    AutoCompleteSource="{Binding Items}" />
// Code-behind
var textBoxExt = new SfTextBoxExt
{
    Width = 400,
    Watermark = "Select multiple items...",
    SearchItemPath = "Name",
    AutoCompleteMode = AutoCompleteMode.Suggest,
    MultiSelectMode = MultiSelectMode.Token,
    TokensWrapMode = TokensWrapMode.Wrap,
    EnableAutoSize = true,
    AutoCompleteSource = viewModel.Items
};

Common Patterns

Pattern 1: Basic AutoComplete with Case-Insensitive Search

var autoComplete = new SfTextBoxExt
{
    AutoCompleteMode = AutoCompleteMode.Suggest,
    SuggestionMode = SuggestionMode.Contains,
    IgnoreCase = true,
    MinimumPrefixCharacters = 2,
    AutoCompleteSource = GetDataSource()
};

Pattern 2: Multi-Selection with Event Handling

<editors:SfTextBoxExt
    SearchItemPath="Name"
    AutoCompleteMode="Suggest"
    MultiSelectMode="Token"
    SelectedItemChanged="OnSelectedItemChanged"
    AutoCompleteSource="{Binding Items}" />
private void OnSelectedItemChanged(object sender, SelectedItemChangedEventArgs e)
{
    var selectedItems = (sender as SfTextBoxExt)?.SelectedItems;
    // Handle selected items
    foreach (var item in selectedItems)
    {
        Console.WriteLine(item.ToString());
    }
}

Pattern 3: Custom Filtering

var autoComplete = new SfTextBoxExt
{
    SuggestionMode = SuggestionMode.Custom,
    AutoCompleteSource = employees
};

// Custom filter for multi-field search
autoComplete.Filter = (search, item) =>
{
    if (item is Employee emp)
    {
        return emp.Name.Contains(search, StringComparison.OrdinalIgnoreCase) ||
               emp.Email.Contains(search, StringComparison.OrdinalIgnoreCase) ||
               emp.Department.Contains(search, StringComparison.OrdinalIgnoreCase);
    }
    return false;
};

Pattern 4: Popup Configuration

<editors:SfTextBoxExt
    AutoCompleteMode="Suggest"
    ShowSuggestionsOnFocus="True"
    PopupDelay="00:00:00.3"
    MaxDropDownHeight="200"
    SuggestionBoxPlacement="Bottom"
    AutoHighlightMatchedItem="True"
    AutoCompleteSource="{Binding Data}" />

Key Properties Reference

Essential Properties

PropertyTypeDescription
AutoCompleteSourceIEnumerableData source for suggestions
SearchItemPathstringProperty path for filtering custom objects
AutoCompleteModeAutoCompleteModeSuggestion display mode (Suggest, Append, SuggestAppend, None)
SuggestionModeSuggestionModeFilter strategy (StartsWith, Contains, Equals, etc.)
MultiSelectModeMultiSelectModeSelection mode (None, Token, Delimiter)
SelectedItemobjectCurrently selected item (single selection)
SelectedItemsObservableCollection<object>Selected items (multi-selection)
SelectedValueobjectValue of selected item

Configuration Properties

PropertyTypeDefaultDescription
MinimumPrefixCharactersint1Minimum characters before filtering
IgnoreCaseboolfalseCase-insensitive filtering
MaximumSuggestionsCountint0 (unlimited)Maximum suggestions displayed
ShowSuggestionsOnFocusboolfalseShow all suggestions on focus
PopupDelayTimeSpan00:00:00Delay before popup opens
MaxDropDownHeightdoubleAutoMaximum popup height

Customization Properties

PropertyTypeDescription
WatermarkstringPlaceholder text
WatermarkTemplateDataTemplateCustom placeholder template
AutoCompleteItemTemplateDataTemplateCustom suggestion item template
NoResultsFoundTemplateDataTemplateTemplate when no matches found
ShowDropDownButtonboolDisplay dropdown button
ShowClearButtonboolDisplay clear button

Events

EventDescription
SelectedItemChangedRaised when selected item changes
SuggestionsChangedRaised when filtered suggestions update
SuggestionPopupOpenedRaised when popup opens
SuggestionPopupClosedRaised when popup closes

Common Use Cases

1. Employee Search and Selection

Implement autocomplete for searching employees by name, email, or department with multi-field filtering.

2. Tag/Label Selection

Enable multi-selection with token mode for selecting tags, categories, or labels with visual token representation.

3. Product Search

Create searchable product dropdown with images, custom templates, and rich item display.

4. Email Recipients (To/CC/BCC)

Build email recipient selection with token mode, delimiter support, and contact suggestions.

5. Location Search

Implement location autocomplete with address suggestions, diacritic-insensitive search for international addresses.

6. Code Editor Auto-Completion

Create code suggestion dropdown with syntax highlighting, custom filtering, and keyboard navigation.

7. Form Auto-Fill

Add intelligent form input suggestions based on historical data or predefined options.

8. Multi-Language Search

Implement search with diacritic sensitivity for international content with accent-insensitive matching.

Related Resources

Support and Licensing

SfTextBoxExt is part of Syncfusion Essential Studio for WPF, a commercial product requiring a valid license. Visit https://www.syncfusion.com/sales/products for licensing information.


Next Steps: Navigate to the specific reference file based on your implementation needs. Start with getting-started.md for initial setup, or jump directly to feature-specific guides for advanced scenarios.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

31.98%
按下载量换算106

Claude

31.14%
按下载量换算103

Cursor

18.11%
按下载量换算60

Gemini CLI

10.19%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills