Skillquality 0.48

syncfusion-maui-smart-text-editor

Implements and configure the Syncfusion .NET MAUI AI-Powered Smart Text Editor (SfSmartTextEditor). Use when working with SfSmartTextEditor, AI-powered text input, predictive text suggestions, inline or popup suggestions, or UserRole/UserPhrases configurations. Covers suggestion

Price
free
Protocol
skill
Verified
no

What it does

Implementing Syncfusion .NET MAUI Smart Text Editor

SfSmartTextEditor is a multiline text input control that accelerates typing with AI-powered predictive suggestions. It integrates with Azure OpenAI, OpenAI, Ollama, or any custom AI service via IChatInferenceService, and falls back to your custom UserPhrases list when AI is unavailable. Suggestions appear inline or as a popup near the caret and can be accepted with Tab or Right Arrow.

When to Use This Skill

  • Add a multiline text input with AI-powered autocomplete to a .NET MAUI app
  • Configure suggestion display as inline (desktop) or popup (touch devices)
  • Integrate Azure OpenAI, OpenAI, Ollama, Claude, DeepSeek, Gemini, or Groq
  • Implement a custom AI service via IChatInferenceService
  • Customize text style, placeholder, suggestion colors, popup background, or character limits
  • Respond to text change events or MVVM commands
  • Apply the liquid glass visual effect to the editor

Component Overview

The SfSmartTextEditor control provides:

  • AI-Powered Predictions: Context-aware completions via Azure OpenAI, OpenAI, Ollama, or custom IChatInferenceService integration
  • Flexible Suggestion Display: Inline mode (desktop-first seamless flow) or Popup mode (touch-first overlay) with platform-specific defaults
  • Offline Fallback: Custom UserPhrases library for AI-free suggestions when network or API is unavailable
  • Smart Context Engine: UserRole property shapes suggestion tone and relevance based on typing scenario
  • Multi-Input Acceptance: Tab/Right Arrow keyboard shortcuts (desktop) and tap/click gestures (all platforms)
  • Character Limit Validation: MaxLength enforcement to prevent input beyond specified constraints
  • Rich Customization: TextStyle, placeholder colors, suggestion preview colors, and popup background styling
  • MVVM Support: Two-way Text binding, TextChanged event, and TextChangedCommand for reactive data flow
  • Modern Effects: Liquid Glass Effect support for translucent designs (iOS/macOS 26+, .NET 10)

Documentation and Navigation Guide

Getting Started

๐Ÿ“„ Read: references/getting-started.md

  • NuGet package installation (Syncfusion.Maui.SmartComponents)
  • Handler registration with ConfigureSyncfusionCore() in MauiProgram.cs
  • AI service registration with ConfigureSyncfusionAIServices()
  • Adding SfSmartTextEditor in XAML and C#
  • Configuring UserRole and UserPhrases for context-aware suggestions
  • Offline fallback behavior when AI is unavailable

Suggestion Display Modes

๐Ÿ“„ Read: references/suggestion-display-modes.md

  • Inline mode โ€” suggestion rendered in-place after the caret (desktop-first)
  • Popup mode โ€” compact overlay near caret (touch-first, Android/iOS)
  • Platform defaults and when to override them
  • Accepting suggestions with Tab or Right Arrow keys
  • Platform limitations (Tab key not supported on Android/iOS)

Customization

๐Ÿ“„ Read: references/customization.md

  • Setting and data-binding editor text via Text property
  • Font and color via TextStyle (SmartTextEditorStyle)
  • Placeholder text and PlaceholderColor
  • SuggestionTextColor โ€” style the suggestion preview text
  • SuggestionPopupBackground โ€” background color of popup suggestions
  • MaxLength โ€” enforce a character limit

Events

๐Ÿ“„ Read: references/events.md

  • TextChanged event with OldTextValue and NewTextValue
  • XAML event subscription and C# handler pattern
  • TextChangedCommand for MVVM / data-binding scenarios
  • ViewModel command setup example

AI Service Configuration (Azure OpenAI / OpenAI / Ollama)

๐Ÿ“„ Read: references/ai-service-configuration.md

  • Azure OpenAI โ€” required NuGet packages, endpoint/key/model configuration
  • OpenAI โ€” API key and model setup
  • Ollama โ€” self-hosted local model configuration
  • Registering the chat client and ConfigureSyncfusionAIServices() in MauiProgram.cs
  • Choosing the right provider for your scenario

Custom AI Services (Claude / DeepSeek / Gemini / Groq)

๐Ÿ“„ Read: references/custom-ai-services.md

  • IChatInferenceService interface and when to use it
  • Claude AI โ€” request/response models, service class, registration
  • DeepSeek โ€” chat completions integration and registration
  • Gemini โ€” Google AI Studio setup, safety settings, registration
  • Groq โ€” low-latency OpenAI-compatible endpoint, registration
  • No need to call ConfigureSyncfusionAIServices() when using custom services
  • Troubleshooting when no suggestions appear

Liquid Glass Effect

๐Ÿ“„ Read: references/liquid-glass-effect.md

  • Prerequisites: .NET 10, macOS 26+ or iOS 26+
  • Wrapping SfSmartTextEditor in SfGlassEffectView
  • Enabling via EnableLiquidGlassEffect="True"
  • Setting Background="Transparent" for correct glass tinting
  • Full XAML and C# examples

Capabilities

skillsource-syncfusionskill-syncfusion-maui-smart-text-editortopic-agent-skills

Install

Quality

0.48/ 1.00

deterministic score 0.48 from registry signals: ยท indexed on github topic:agent-skills ยท 53 github stars ยท SKILL.md body (5,098 chars)

Provenance

Indexed fromgithub
Enriched2026-04-22 00:56:10Z ยท deterministic:skill-github:v1 ยท v1
First seen2026-04-18
Last seen2026-04-22

Agent access