devexpress-wpf-ai-chat-control
Installation
SKILL.md
DevExpress WPF AI Chat Control
AIChatControl embeds a ready-made, Copilot-style chat interface in your WPF app. The conversation flow (user messages, streaming assistant responses, Markdown rendering, file attachments, prompt suggestions, history) is built in — you supply an IChatClient (Azure OpenAI / OpenAI / Ollama / Semantic Kernel) and drop the control on a ThemedWindow. Under the hood it hosts the DevExpress Blazor DxAIChat component inside a BlazorWebView.
This skill covers project setup, installing the NuGet, registering an AI client, placing the control, and the basic features (streaming, Markdown, file upload, prompt suggestions, history, manual message handling).
When to Use This Skill
Use this skill when you need to:
- Embed an interactive AI chat (Copilot-style) in a WPF app
- Connect to Azure OpenAI / OpenAI / Ollama / Semantic Kernel via
IChatClient - Stream assistant responses as they're generated
- Render Markdown / code blocks in chat messages
- Let users attach files (PDF / images / text) to chat messages
- Persist and reload chat history (
SaveMessages/LoadMessages) - Manually intercept messages (
MessageSending) — for guard rails, side channels, custom AI calls - Display multiple chat surfaces with different AI services (
ChatClientServiceKey)