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

syncfusion-wpf-combobox同步融合 WPF 组合框

Agent Skill

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

总安装

1,053

周安装

43

GitHub Stars

2

下载量

341
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

同步融合 WPF 组合框组件,支持下拉列表选择的输入控件。

  • 适用于数据筛选、选项枚举等需要从有限集合中选择值的 WPF 交互设计。
  • 通过 GitHub 安装技能模块,使用 npx skills add 命令完成本地技能集成。
  • 需确保宿主环境已正确引用 Syncfusion 下拉菜单渲染引擎及相关样式资源。
  • 建议查看原始文档了解自动完成、搜索过滤等增强功能的启用条件。

SKILL.md

Implementing Syncfusion WPF ComboBox (ComboBoxAdv)

Comprehensive guide for implementing the Syncfusion® WPF ComboBoxAdv control, a powerful dropdown component that allows users to type a value or choose options from a list with support for multiselection, editing, autocomplete, data binding, and advanced features.

When to Use This Skill

Use this skill when you need to:

  • Implement dropdown selection in WPF applications
  • Enable multiselection with checkboxes or tokens
  • Add editable dropdowns with autocomplete functionality
  • Bind data to dropdown controls using MVVM patterns
  • Customize item display with templates
  • Configure watermarks (default text) for user prompts
  • Set custom delimiters for multiselect displays
  • Integrate with Expression Blend for design-time editing
  • Apply themes using SfSkinManager or ThemeStudio

Component Overview

The ComboBoxAdv control (Syncfusion.Windows.Tools.Controls.ComboBoxAdv) extends standard WPF dropdown functionality with:

Key Features:

  • Multiselection with checkboxes, tokens, OK/Cancel buttons
  • Editable mode with autocomplete (suggest mode)
  • Data binding via ItemsSource with DisplayMemberPath
  • Token display for selected items with close icons
  • Watermark support (DefaultText property)
  • Custom delimiters for multiselect display
  • Item templates for complex UI
  • Theme support with built-in and custom themes
  • Expression Blend integration for design-time editing

Namespace: Syncfusion.Windows.Tools.Controls Assembly: Syncfusion.Shared.WPF Schema: http://schemas.syncfusion.com/wpf

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly deployment
  • Adding control via designer, XAML, and C#
  • Creating data models and ViewModels
  • Basic data binding patterns
  • DisplayMemberPath configuration
  • ItemTemplate customization
  • Theme setup and application

Selection and MultiSelection

📄 Read: references/selection-multiselection.md

  • Single selection (SelectedItem, SelectedIndex, SelectedValue)
  • Enabling multiselection (AllowMultiSelect)
  • Programmatic selection with SelectedItems
  • SelectAll functionality
  • OK/Cancel buttons for multiselect
  • Overriding OnItemChecked/OnItemUnchecked
  • Token support (EnableToken) for visual item representation
  • Token editing and keyboard access
  • SelectionChanged event handling

Editing and AutoComplete

📄 Read: references/editing-autocomplete.md

  • IsEditable property for text input
  • AutoComplete modes (Suggest, None)
  • Filtering dropdown items dynamically
  • Editable mode with token support
  • Text search and item matching

Watermark and Delimiter

📄 Read: references/watermark-delimiter.md

  • DefaultText property for watermarks
  • SelectedValueDelimiter customization
  • Usage patterns and best practices

Data Binding

📄 Read: references/data-binding.md

  • ItemsSource binding fundamentals
  • Creating MVVM-compatible models and ViewModels
  • DisplayMemberPath vs ItemTemplate
  • ObservableCollection patterns
  • Two-way binding with SelectedItems
  • INotifyPropertyChanged implementation

Customization and Blendability

📄 Read: references/customization-blendability.md

  • Expression Blend workflow
  • Style editing and template customization
  • Theme application with SfSkinManager
  • Creating custom themes with ThemeStudio
  • Control appearance customization

Quick Start

Basic ComboBoxAdv with Static Items

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
    <Grid>
        <syncfusion:ComboBoxAdv Height="30" Width="200"
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center">
            <syncfusion:ComboBoxItemAdv Content="Denmark" />
            <syncfusion:ComboBoxItemAdv Content="New Zealand" />
            <syncfusion:ComboBoxItemAdv Content="Canada" />
            <syncfusion:ComboBoxItemAdv Content="Russia" />
            <syncfusion:ComboBoxItemAdv Content="Japan" />
        </syncfusion:ComboBoxAdv>
    </Grid>
</Window>

Data-Bound ComboBoxAdv with MVVM

// Model
public class Country
{
    public string Name { get; set; }
    public string Code { get; set; }
}

// ViewModel
public class ViewModel : INotifyPropertyChanged
{
    private ObservableCollection<Country> countries;
    public ObservableCollection<Country> Countries
    {
        get { return countries; }
        set { countries = value; OnPropertyChanged(nameof(Countries)); }
    }

    public ViewModel()
    {
        Countries = new ObservableCollection<Country>
        {
            new Country { Name = "Denmark", Code = "DK" },
            new Country { Name = "New Zealand", Code = "NZ" },
            new Country { Name = "Canada", Code = "CA" }
        };
    }

    public event PropertyChangedEventHandler PropertyChanged;
    protected void OnPropertyChanged(string name) =>
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
}
<Window.DataContext>
    <local:ViewModel />
</Window.DataContext>
<syncfusion:ComboBoxAdv ItemsSource="{Binding Countries}"
                        DisplayMemberPath="Name"
                        Height="30" Width="200"/>

Common Patterns

Pattern 1: Multiselection with Tokens

<syncfusion:ComboBoxAdv AllowMultiSelect="True"
                        IsEditable="True"
                        EnableToken="True"
                        ItemsSource="{Binding Items}"
                        DisplayMemberPath="Name"
                        Height="Auto" Width="300"/>

Pattern 2: Editable with AutoComplete

<syncfusion:ComboBoxAdv IsEditable="True"
                        AutoCompleteMode="Suggest"
                        ItemsSource="{Binding Items}"
                        DisplayMemberPath="Name"
                        Height="30" Width="200"/>

Pattern 3: Watermark with Delimiter

<syncfusion:ComboBoxAdv AllowMultiSelect="True"
                        DefaultText="Select items..."
                        SelectedValueDelimiter=" | "
                        ItemsSource="{Binding Items}"
                        DisplayMemberPath="Name"
                        Height="30" Width="300"/>

Pattern 4: Multiselect with OK/Cancel

<syncfusion:ComboBoxAdv AllowMultiSelect="True"
                        AllowSelectAll="True"
                        EnableOKCancel="True"
                        ItemsSource="{Binding Items}"
                        DisplayMemberPath="Name"
                        Height="30" Width="250"/>

Key Properties

PropertyTypeDescription
AllowMultiSelectboolEnables multiple item selection
IsEditableboolAllows text input and editing
EnableTokenboolDisplays selected items as tokens (multiselect)
AutoCompleteModeAutoCompleModesSuggest or None for autocomplete
DefaultTextstringWatermark text when no item selected
SelectedValueDelimiterstringSeparator between selected items
ItemsSourceIEnumerableData collection for binding
DisplayMemberPathstringProperty path for item display
SelectedItemobjectCurrently selected item
SelectedItemsObservableCollectionCollection of selected items (multiselect)
SelectedIndexintIndex of selected item
EnableOKCancelboolShows OK/Cancel buttons in dropdown
AllowSelectAllboolAdds "Select All" option

Common Use Cases

  1. Country/Region Selector - Single selection with data binding
  2. Tag Selector - Multiselection with tokens for visual feedback
  3. Searchable Dropdown - Editable with autocomplete for large lists
  4. Category Filter - Multiselection with delimiters
  5. Form Input with Prompt - Watermark text for user guidance
  6. Bulk Selection - Select All with OK/Cancel for confirmation

See Also

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.52%
按下载量换算131

Claude

28.39%
按下载量换算97

Cursor

18.45%
按下载量换算63

Gemini CLI

9.77%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills