MCPInstall

syncfusion-winui-autocomplete

Guide implementation of the Syncfusion WinUI AutoComplete control (SfAutoComplete) for creating searchable dropdowns with single or multiple selection, filtering suggestions, and customizable token display. Use this skill when implementing search-as-you-type functionality, autocomplete dropdowns with multi-select, tagging systems with token/chip display, or filtered suggestion boxes in WinUI applications.

Installs
50
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion-winui-autocomplete
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-winui-autocomplete automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing AutoComplete (SfAutoComplete)

The Syncfusion WinUI AutoComplete (SfAutoComplete) is a highly optimized control for providing filtered suggestions from large datasets as users type. It supports both single and multiple item selection, displaying selected items as tokens with images, text, and close buttons for easy removal.

When to Use This Skill

Use this skill when the user needs to:

  • Implement autocomplete search functionality in WinUI applications
  • Create searchable dropdowns with filtered suggestions based on user input
  • Build tag or token input fields with multi-select capability
  • Filter large datasets based on characters entered by the user
  • Provide search-as-you-type experiences with auto-suggestions
  • Implement multi-select dropdowns with chip/token display
  • Add watermark text to guide user input in search fields
  • Customize suggestion item display with images and custom templates
  • Handle "no results found" scenarios with custom messaging
  • Add leading/trailing icons or buttons to autocomplete inputs

Component Overview

Package: Syncfusion.Editors.WinUI
Namespace: Syncfusion.UI.Xaml.Editors
Control: SfAutoComplete

Key Capabilities:

  • Single and multiple selection modes
  • Real-time filtering (StartsWith or Contains)
  • Custom filtering logic support
  • Token/chip display for selected items
  • Highlighting of matched text
  • Grouping of suggestions
  • Leading and trailing views
  • Watermark/placeholder text
  • Keyboard navigation
  • Template customization

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When the user needs to:

  • Install the AutoComplete package
  • Create and configure the control
  • Set up data binding with ItemsSource
  • Configure TextMemberPath and DisplayMemberPath
  • Implement basic autocomplete functionality

Selection

📄 Read: references/selection.md

When the user needs to:

  • Configure single vs multiple selection
  • Handle selected items programmatically
  • Display tokens/chips for multiple selections
  • Listen to selection change events
  • Work with SelectedItem or SelectedItems properties

Searching and Filtering

📄 Read: references/searching-filtering.md

When the user needs to:

  • Configure filtering behavior (StartsWith or Contains)
  • Implement custom filtering logic
  • Search based on specific properties
  • Handle auto-fill and auto-suggestions
  • Select default items after filtering

UI Customization

📄 Read: references/ui-customization.md

When the user needs to:

  • Customize dropdown item templates
  • Add leading icons or buttons
  • Add trailing actions or clear buttons
  • Style selected item tokens
  • Handle "no results found" UI
  • Set watermark/placeholder text

Advanced Features

📄 Read: references/advanced-features.md

When the user needs to:

  • Group suggestions by category
  • Highlight matched text in suggestions
  • Implement keyboard shortcuts
  • Ensure accessibility compliance
  • Handle advanced user interactions

Quick Start Example

Basic Single-Selection AutoComplete

<Window xmlns:editors="using:Syncfusion.UI.Xaml.Editors">
    <Grid>
        <editors:SfAutoComplete x:Name="autoComplete"
                                Width="250"
                                PlaceholderText="Search social media..."
                                ItemsSource="{Binding SocialMedias}"
                                DisplayMemberPath="Name"
                                TextMemberPath="Name"
                                TextSearchMode="Contains" />
    </Grid>
</Window>
// Model
public class SocialMedia
{
    public string Name { get; set; }
    public int ID { get; set; }
}

// ViewModel
public class SocialMediaViewModel
{
    public ObservableCollection<SocialMedia> SocialMedias { get; set; }
    
    public SocialMediaViewModel()
    {
        SocialMedias = new ObservableCollection<SocialMedia>
        {
            new SocialMedia { Name = "Facebook", ID = 0 },
            new SocialMedia { Name = "Instagram", ID = 1 },
            new SocialMedia { Name = "Twitter", ID = 2 },
            new SocialMedia { Name = "LinkedIn", ID = 3 }
        };
    }
}

// Set DataContext
autoComplete.DataContext = new SocialMediaViewModel();

Multi-Selection with Tokens

<editors:SfAutoComplete x:Name="autoComplete"
                        Width="300"
                        SelectionMode="Multiple"
                        PlaceholderText="Select multiple items..."
                        ItemsSource="{Binding SocialMedias}"
                        DisplayMemberPath="Name"
                        TextMemberPath="Name"
                        TextSearchMode="Contains" />

Common Patterns

Pattern 1: Search with Contains Filter

<editors:SfAutoComplete ItemsSource="{Binding Countries}"
                        DisplayMemberPath="Name"
                        TextMemberPath="Name"
                        TextSearchMode="Contains"
                        PlaceholderText="Type to search..." />

Use when users need to find items by any part of the text, not just the beginning.

Pattern 2: Multi-Select Tags with Custom Display

<editors:SfAutoComplete SelectionMode="Multiple"
                        ItemsSource="{Binding Tags}"
                        DisplayMemberPath="Name"
                        TextMemberPath="Name">
    <editors:SfAutoComplete.ItemTemplate>
        <DataTemplate>
            <StackPanel Orientation="Horizontal" Padding="5">
                <TextBlock Text="{Binding Name}" 
                          FontWeight="SemiBold"/>
            </StackPanel>
        </DataTemplate>
    </editors:SfAutoComplete.ItemTemplate>
</editors:SfAutoComplete>

Use for tagging systems where users select multiple items displayed as tokens.

Pattern 3: Autocomplete with Leading Icon

<editors:SfAutoComplete ItemsSource="{Binding Items}"
                        DisplayMemberPath="Name"
                        TextMemberPath="Name">
    <editors:SfAutoComplete.LeadingView>
        <Grid Padding="8">
            <Path Data="M15.5 14h-.79l-.28-.27C15.41..." 
                  Fill="{ThemeResource SystemAccentColor}"/>
        </Grid>
    </editors:SfAutoComplete.LeadingView>
</editors:SfAutoComplete>

Use to provide visual context (e.g., search icon) for the autocomplete field.

Pattern 4: Custom "No Results" Message

<editors:SfAutoComplete ItemsSource="{Binding Products}"
                        DisplayMemberPath="Name"
                        TextMemberPath="Name"
                        NoResultsFoundContent="No products found. Try a different search." />

Use to provide helpful feedback when filtering returns no matches.

Key Properties

PropertyTypeDescription
ItemsSourceobjectCollection of data items to display
DisplayMemberPathstringProperty path for dropdown item display
TextMemberPathstringProperty path for selection box text
SelectionModeAutoCompleteSelectionModeSingle or Multiple selection
TextSearchModeAutoCompleteTextSearchModeStartsWith or Contains filtering
PlaceholderTextstringWatermark text when empty
SelectedItemobjectCurrently selected item (single mode)
SelectedItemsObservableCollectionSelected items collection (multiple mode)
NoResultsFoundContentobjectContent when no matches found
LeadingViewobjectContent displayed before text input
TrailingViewobjectContent displayed after text input
GroupMemberPathstringProperty path for grouping items
HighlightedTextColorBrushColor for highlighting matched text
FilterBehaviorAutoCompleteFilterBehaviorCustom filtering logic

Common Use Cases

Email Recipient Selector

Multi-select autocomplete for selecting email recipients from a contact list, displaying selected contacts as removable tokens.

Product Search

Single-select autocomplete for finding products in an e-commerce app, with contains-based filtering for flexible searching.

Category Tagging

Multi-select autocomplete for assigning multiple categories or tags to items, with custom token display.

Location Search

Single-select autocomplete with grouped suggestions (Countries > Cities), using StartsWith filtering for quick navigation.

Skill Search

Multi-select autocomplete for selecting user skills from a predefined list, with "no results" message for unrecognized entries.

Related Components

  • ComboBox - For simple dropdown selection without autocomplete filtering
  • TextBox - For basic text input without suggestions (if documented)

Integration Tips

With MVVM:

  • Bind ItemsSource to ViewModel's ObservableCollection
  • Use SelectedItem or SelectedItems with two-way binding
  • Handle selection changes in ViewModel via binding commands

Performance:

  • Use virtualization for large datasets (>1000 items)
  • Consider async loading for remote data sources
  • Use TextSearchMode.StartsWith for better performance with very large lists

Accessibility:

  • Always set PlaceholderText to guide users
  • Use AutomationProperties.Name for screen readers
  • Ensure keyboard navigation works (Tab, Enter, Esc)
  • Test with high contrast themes

Troubleshooting Quick Fixes

IssueSolution
Suggestions not showingCheck ItemsSource is bound and contains data; verify DisplayMemberPath
Wrong text displayedSet TextMemberPath to the correct property name
Filtering not workingEnsure TextSearchMode is set; verify property data types are strings
Multiple selection not workingSet SelectionMode="Multiple"
Custom template not appliedCheck ItemTemplate DataContext binding matches data model
No results message not showingSet NoResultsFoundContent property

Next Steps: For detailed implementation, navigate to the specific reference file matching your needs using the documentation guide above.

FAQ

What does the syncfusion-winui-autocomplete skill do?

Guide implementation of the Syncfusion WinUI AutoComplete control (SfAutoComplete) for creating searchable dropdowns with single or multiple selection, filtering suggestions, and customizable token display. Use this skill when implementing search-as-you-type functionality, autocomplete dropdowns with multi-select, tagging systems with token/chip display, or filtered suggestion boxes in WinUI applications.

How do I install syncfusion-winui-autocomplete?

Run npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion-winui-autocomplete in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-winui-autocomplete/ (personal) or .claude/skills/syncfusion-winui-autocomplete/ (project).

Which AI agents can use syncfusion-winui-autocomplete?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-winui-autocomplete safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-winui-autocomplete?

It is published by syncfusion in syncfusion/winui-ui-components-skills. It has 50 recorded installs.

More from syncfusion/winui-ui-components-skills

View all →

syncfusion-winui-getting-started

syncfusion/winui-ui-components-skills

Comprehensive guide for setting up Syncfusion WinUI components, including license registration, NuGet package installation, system requirements verification, and troubleshooting. Use this skill when users need help with Syncfusion licensing, installation, WinUI component configuration, theme setup, or resolving installation errors.

syncfusion-winui-badge

syncfusion/winui-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-winui-datagrid

syncfusion/winui-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-winui-treeview

syncfusion/winui-ui-components-skills

Comprehensive guide for implementing Syncfusion WinUI TreeView (SfTreeView) control in desktop applications. Use this skill when working with hierarchical data display, tree structures, or node-based navigation. Covers TreeView implementation for file explorers, organization charts, category browsers, and expandable/collapsible data visualization in WinUI applications.

syncfusion-winui-numberbox

syncfusion/winui-ui-components-skills

Learn to implement Syncfusion WinUI NumberBox (SfNumberBox) control for numeric input with validation, custom formatting, and value restrictions. Use this skill when you need numeric input fields with currency, percentage, or decimal formatting in WinUI applications.

syncfusion-winui-polar-charts

syncfusion/winui-ui-components-skills

Open the skill to read its SKILL.md instructions.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs