
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- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads syncfusion-winui-autocomplete automatically when relevant.
- 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
| Property | Type | Description |
|---|---|---|
ItemsSource | object | Collection of data items to display |
DisplayMemberPath | string | Property path for dropdown item display |
TextMemberPath | string | Property path for selection box text |
SelectionMode | AutoCompleteSelectionMode | Single or Multiple selection |
TextSearchMode | AutoCompleteTextSearchMode | StartsWith or Contains filtering |
PlaceholderText | string | Watermark text when empty |
SelectedItem | object | Currently selected item (single mode) |
SelectedItems | ObservableCollection | Selected items collection (multiple mode) |
NoResultsFoundContent | object | Content when no matches found |
LeadingView | object | Content displayed before text input |
TrailingView | object | Content displayed after text input |
GroupMemberPath | string | Property path for grouping items |
HighlightedTextColor | Brush | Color for highlighting matched text |
FilterBehavior | AutoCompleteFilterBehavior | Custom 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
ItemsSourceto ViewModel'sObservableCollection - Use
SelectedItemorSelectedItemswith 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.StartsWithfor better performance with very large lists
Accessibility:
- Always set
PlaceholderTextto guide users - Use
AutomationProperties.Namefor screen readers - Ensure keyboard navigation works (Tab, Enter, Esc)
- Test with high contrast themes
Troubleshooting Quick Fixes
| Issue | Solution |
|---|---|
| Suggestions not showing | Check ItemsSource is bound and contains data; verify DisplayMemberPath |
| Wrong text displayed | Set TextMemberPath to the correct property name |
| Filtering not working | Ensure TextSearchMode is set; verify property data types are strings |
| Multiple selection not working | Set SelectionMode="Multiple" |
| Custom template not applied | Check ItemTemplate DataContext binding matches data model |
| No results message not showing | Set 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
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
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-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.
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.
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.
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.