syncfusion-maui-autocomplete

$npx mdskill add syncfusion/maui-ui-components-skills/syncfusion-maui-autocomplete

Implement Syncfusion .NET MAUI Autocomplete for intelligent text input with suggestions.

  • Solves need for search-as-you-type, smart data entry, or multi-selection input.
  • Depends on Syncfusion .NET MAUI SfAutocomplete control and its NuGet package.
  • Recommends configuration based on data binding, filtering modes, and UI customization needs.
  • Delivers a configured Autocomplete control with suggestions, filtering, and optional multi-selection.

SKILL.md

.github/skills/syncfusion-maui-autocompleteView on GitHub ↗
---
name: syncfusion-maui-autocomplete
description: Implements and configure Syncfusion .NET MAUI Autocomplete (SfAutocomplete) control for intelligent text input with suggestions. Use when implementing autocomplete, autosuggest, type-ahead search, smart search, or filtered dropdowns in .NET MAUI applications. Covers data binding, filtering modes, custom search logic, AI-powered search, multi-selection with tokens, and UI customization.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# Implementing .NET MAUI Autocomplete

The Syncfusion .NET MAUI Autocomplete (SfAutocomplete) is a powerful text input control that provides intelligent suggestions as users type, enabling fast data entry and enhanced search experiences with filtering, multi-selection, and customizable UI.

## When to Use This Skill

Use this skill when the user needs to:
- **Search-as-you-type interfaces** - Filter and display suggestions while users type
- **Smart data entry forms** - Autocomplete user input from predefined lists
- **Multi-selection input** - Select multiple items with token/chip display
- **Filtered dropdowns** - Search and filter large datasets efficiently
- **AI-powered search** - Implement intelligent search with Azure OpenAI integration
- **Type-ahead functionality** - Provide predictive text suggestions
- **Searchable combobox alternatives** - Enhanced dropdown with search capabilities
- **Tag input controls** - Multi-selection with visual tokens

## Component Overview

The SfAutocomplete control offers:

- **Intelligent Filtering** - StartsWith and Contains search modes with custom filters
- **Flexible Selection** - Single or multiple selection with token/delimiter display
- **Data Binding** - Bind to any data source with DisplayMemberPath and TextMemberPath
- **Custom Search Logic** - Implement IAutocompleteFilterBehavior for advanced filtering
- **AI Integration** - Azure OpenAI support for smart, context-aware searching
- **Rich Customization** - Templates, styling, headers, footers, and highlighting
- **Performance** - Async loading, pagination with LoadMore, and efficient rendering
- **Accessibility** - AutomationId support, keyboard navigation, screen reader friendly

## Documentation and Navigation Guide

### Getting Started
📄 **Read:** [references/getting-started.md](references/getting-started.md)

When implementing basic autocomplete functionality:
- Installation and NuGet package setup (Syncfusion.Maui.Inputs)
- Handler registration with ConfigureSyncfusionCore
- Basic control implementation in XAML and C#
- Data binding with ItemsSource, DisplayMemberPath, TextMemberPath
- Placeholder configuration and basic properties
- AutomationId for UI testing

### Searching and Filtering
📄 **Read:** [references/searching-filtering.md](references/searching-filtering.md)

When implementing search and filter logic:
- Search based on DisplayMemberPath and TextMemberPath
- TextSearchMode (StartsWith, Contains) configuration
- MinimumPrefixCharacters for search delay
- Custom filtering with IAutocompleteFilterBehavior
- Custom search highlighting with IAutocompleteSearchBehavior
- Async item loading with cancellation support
- ShowSuggestionsOnFocus behavior

### Selection
📄 **Read:** [references/selection.md](references/selection.md)

When handling item selection:
- Single vs Multiple selection modes
- SelectedItem, SelectedItems properties
- SelectedValue and SelectedValuePath
- MultiSelectionDisplayMode (Token, Delimiter)
- TokensWrapMode (Wrap, None) for token layout
- SelectionChanging and SelectionChanged events
- Clear button configuration
- Clear() method for programmatic clearing

### UI Customization
📄 **Read:** [references/ui-customization.md](references/ui-customization.md)

When customizing appearance and behavior:
- Placeholder styling (text, color)
- Clear button customization (icon, color, path)
- Dropdown styling (height, width, placement, background)
- Item templates and text styling
- Token styling for multi-selection
- Border and stroke customization
- Text alignment and cursor position
- ReturnType and keyboard behavior
- Events (Completed, DropDownOpening, ValueChanged, etc.)

### Advanced Features
📄 **Read:** [references/advanced-features.md](references/advanced-features.md)

When implementing advanced functionality:
- Header and footer views in dropdown
- Text highlighting (FirstOccurrence, MultipleOccurrence)
- No results found customization
- AutoSizing for dynamic control height
- Liquid Glass Effect for modern UI (.NET 10+)

### AI-Powered Features & LoadMore
📄 **Read:** [references/ai-powered-loadmore.md](references/ai-powered-loadmore.md)

When implementing intelligent search or pagination:
- Azure OpenAI integration for smart search
- Custom filtering with AI service
- Prompt engineering for accurate results
- Offline fallback with Soundex/Levenshtein
- LoadMore feature with MaximumSuggestion
- LoadMore customization (text, template, events)

### Troubleshooting
📄 **Read:** [references/troubleshooting.md](references/troubleshooting.md)

When encountering issues:
- Platform-specific limitations and workarounds
- AOT publishing considerations
- Performance optimization for large datasets
- Common issues and solutions

More from syncfusion/maui-ui-components-skills

SkillDescription
syncfusion-maui-accordionImplements Syncfusion .NET MAUI Accordion (SfAccordion) - a vertically collapsible panel with stacked headers for expanding/collapsing content. Use when working with accordions, collapsible panels, expandable lists, employee lists with details, or FAQ sections in .NET MAUI applications. Covers AccordionItem configuration, expand modes, and grouped content display.
syncfusion-maui-ai-assistviewImplements Syncfusion .NET MAUI AI AssistView (SfAIAssistView) for AI-powered interactive chat interfaces. Use when working with AI chat interfaces, AI AssistView, SfAIAssistView, conversational UI, or chat with AI responses. Covers integrating AI services, creating chat UIs, implementing conversation flows, managing AI requests/responses, and displaying AI suggestions.
syncfusion-maui-avatar-viewImplements Syncfusion .NET MAUI Avatar View (SfAvatarView) for displaying user profile pictures, initials, or group avatars. Use when working with avatar views, profile pictures, user images, initials display, profile icons, or contact images. Ideal for implementing user profile displays, contact lists, chat interfaces, or social feeds.
syncfusion-maui-backdropImplements Syncfusion .NET MAUI Backdrop Page (SfBackdropPage) with back layer and front layer surfaces. Use when working with backdrop pages, SfBackdropPage, back layer, front layer, or reveal/conceal animations. Covers backdrop navigation patterns, header icons, corner shapes, reveal height, layer state events, and liquid glass effect.
syncfusion-maui-badge-viewImplements Syncfusion .NET MAUI Badge View (SfBadgeView) control. Use when adding badge notifications, status indicators, unread counts, or notification overlays to MAUI applications. Covers SfBadgeView setup, badge text customization, position adjustments, animations, predefined symbols, and accessibility features.
syncfusion-maui-barcode-generatorImplements Syncfusion .NET MAUI Barcode Generator (SfBarcodeGenerator) for generating machine-readable barcodes. Use when working with barcodes, barcode generation, QR codes, data matrix, EAN codes, UPC codes, Code128, or Code39. This skill covers both one-dimensional (linear) and two-dimensional (matrix) barcode symbologies with extensive customization options.
syncfusion-maui-busy-indicatorImplements Syncfusion .NET MAUI Busy Indicator (SfBusyIndicator) for showing loading states, data processing, and app activity indicators. Use when displaying loading indicators, busy animations, activity spinners, or processing feedback in .NET MAUI apps. Covers busy indicator setup, animations, and visual feedback during long-running operations.
syncfusion-maui-buttonImplements and customize Syncfusion .NET MAUI Button (SfButton) control. Use when working with MAUI buttons, SfButton implementation, button customization, or visual states. Covers button icons, background images, RTL support, Liquid Glass effects, custom button views, button styling, events, and checkable buttons.
syncfusion-maui-calendarImplements and customize Syncfusion .NET MAUI Calendar (SfCalendar) control. Use when implementing calendar functionality, date selection (single, multiple, range), or calendar views (month, year, decade, century). Covers date restrictions (min/max dates, EnablePastDates, SelectableDayPredicate), calendar customization, events (ViewChanged, SelectionChanged, Tapped), and header/footer customization.
syncfusion-maui-cardsImplements Syncfusion .NET MAUI Cards (SfCards) - dismissible card views and swipeable card stacks. Use when working with cards, card views, card layouts, swipeable cards, dismissible cards, or card stacks in .NET MAUI. Covers card customization, card events, card data binding, and interactive card components with swipe functionality.