FieldCure.AssistStudio.Controls.WinUI
0.6.0
See the version list below for details.
dotnet add package FieldCure.AssistStudio.Controls.WinUI --version 0.6.0
NuGet\Install-Package FieldCure.AssistStudio.Controls.WinUI -Version 0.6.0
<PackageReference Include="FieldCure.AssistStudio.Controls.WinUI" Version="0.6.0" />
<PackageVersion Include="FieldCure.AssistStudio.Controls.WinUI" Version="0.6.0" />
<PackageReference Include="FieldCure.AssistStudio.Controls.WinUI" />
paket add FieldCure.AssistStudio.Controls.WinUI --version 0.6.0
#r "nuget: FieldCure.AssistStudio.Controls.WinUI, 0.6.0"
#:package FieldCure.AssistStudio.Controls.WinUI@0.6.0
#addin nuget:?package=FieldCure.AssistStudio.Controls.WinUI&version=0.6.0
#tool nuget:?package=FieldCure.AssistStudio.Controls.WinUI&version=0.6.0
FieldCure.AssistStudio.Controls.WinUI
Drop-in AI Chat UI Controls for WinUI 3 — Markdown rendering, streaming, attachments, tool approval, and theming out of the box.
Features
- ChatPanel — Complete chat experience: message list, input area, streaming, attachments, preset/profile selectors.
- WebView2 Rendering — Markdown, syntax highlighting (highlight.js), and LaTeX (KaTeX) rendered in a single WebView2 instance.
- TemplatedControls — All controls are
TemplatedControls withPART_conventions. OverrideGeneric.xamlto fully customize. - Theming — Light, Dark, and System themes. Set
Theme="System"to follow the app theme. - Localization — Built-in en-US and ko-KR resource strings.
- Tool Approval — Inline
ToolApprovalPanelfor user confirmation before tool execution. - Multi-TFM — Targets both
net8.0-windows10.0.19041.0andnet9.0-windows10.0.19041.0.
Install
dotnet add package FieldCure.AssistStudio.Controls.WinUI
This package depends on FieldCure.AssistStudio.Core which is installed automatically.
Quick Start
<Page xmlns:assist="using:FieldCure.AssistStudio.Controls">
<assist:ChatPanel x:Name="Chat"
Placeholder="Ask anything..."
Theme="System" />
</Page>
using FieldCure.AssistStudio.Providers;
// Code-behind — assign a provider
Chat.Provider = new ClaudeProvider(apiKey: "sk-ant-...", modelId: "claude-sonnet-4-20250514");
Controls
ChatPanel
The main control. Provides message list (WebView2), input area, streaming, attachments, presets, and profiles.
<assist:ChatPanel Provider="{x:Bind ViewModel.Provider, Mode=OneWay}"
SystemPrompt="You are a helpful assistant."
Theme="Dark"
Placeholder="Type a message..."
AvailablePresets="{x:Bind ViewModel.Presets}"
SelectedPreset="{x:Bind ViewModel.CurrentPreset, Mode=TwoWay}" />
Dependency Properties: Provider, SystemPrompt, Theme, Title, Placeholder, AvailablePresets, SelectedPreset, AvailableProfiles, SelectedProfile, IsDebugMode
Properties: UtilityProvider, AutoTitle, AutoSummarize, RegisteredTools
Events: PresetChanged, ProfileChanged, MessageAdded, TitleGenerated, TitleEditRequested, KeyboardShortcutPressed
InputContainer
Chat input area — text box, attach button, preset/profile selectors. Used internally by ChatPanel, but can be placed standalone.
AttachmentPreviewBar
Horizontal scrollable bar showing thumbnails of attached files before sending.
ToolApprovalPanel
Inline confirmation panel for tools with RequiresConfirmation = true. Displays tool name, expandable JSON arguments, and Allow/Reject buttons.
Re-templating
<Style TargetType="assist:ChatPanel" BasedOn="{StaticResource DefaultChatPanelStyle}">
</Style>
Requirements
| Dependency | Minimum Version |
|---|---|
| .NET | 8.0 |
| Windows App SDK | 1.7 |
| WebView2 Runtime | Evergreen |
| Target Platform | Windows 10 1903+ (10.0.19041.0) |
License
MIT — Copyright (c) 2026 FieldCure Co., Ltd.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows10.0.19041 is compatible. net9.0-windows was computed. net9.0-windows10.0.19041 is compatible. net10.0-windows was computed. |
-
net8.0-windows10.0.19041
- DocumentFormat.OpenXml (>= 3.4.1)
- FieldCure.AssistStudio.Core (>= 0.6.0)
- Microsoft.Web.WebView2 (>= 1.0.3856.49)
- Microsoft.Windows.SDK.BuildTools (>= 10.0.26100.7705)
- Microsoft.WindowsAppSDK (>= 1.7.260224002)
-
net9.0-windows10.0.19041
- DocumentFormat.OpenXml (>= 3.4.1)
- FieldCure.AssistStudio.Core (>= 0.6.0)
- Microsoft.Web.WebView2 (>= 1.0.3856.49)
- Microsoft.Windows.SDK.BuildTools (>= 10.0.26100.7705)
- Microsoft.WindowsAppSDK (>= 1.7.260224002)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FieldCure.AssistStudio.Controls.WinUI:
| Package | Downloads |
|---|---|
|
FieldCure.AssistStudio.Controls.WinUI.Anthropic
WinUI 3 ChatPanel integration for the Anthropic SDK. Provides extension methods to stream Anthropic responses into ChatPanel. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.21.0 | 33 | 5/7/2026 |
| 0.20.0 | 77 | 5/5/2026 |
| 0.19.0 | 90 | 5/4/2026 |
| 0.18.0 | 99 | 4/27/2026 |
| 0.17.1 | 98 | 4/24/2026 |
| 0.17.0 | 94 | 4/21/2026 |
| 0.16.0 | 90 | 4/14/2026 |
| 0.15.0 | 99 | 4/10/2026 |
| 0.14.0 | 100 | 4/7/2026 |
| 0.13.0 | 100 | 3/31/2026 |
| 0.12.0 | 103 | 3/30/2026 |
| 0.11.0 | 101 | 3/29/2026 |
| 0.10.0 | 98 | 3/24/2026 |
| 0.9.0 | 94 | 3/24/2026 |
| 0.8.0 | 95 | 3/22/2026 |
| 0.7.0 | 96 | 3/21/2026 |
| 0.6.0 | 102 | 3/17/2026 |
| 0.5.0 | 102 | 3/17/2026 |
| 0.4.0 | 100 | 3/17/2026 |
# Release Notes — FieldCure.AssistStudio.Controls.WinUI
## [0.6.0] - 2026-03-17
### Added
- Title edit button tooltip with localized resource strings (`ChatPanel_EditTitleTooltip`)
- `SetBottomRightToolTip` helper for consistent tooltip placement on title bar buttons
### Changed
- Title bar button tooltips use `PlacementMode.Mouse` instead of default top placement
### Fixed
- Missing `SubtleButtonStyle` causing crash in packaged builds
---
## [0.5.0] - 2026-03-17
### Added
- Dedicated NuGet package README with Controls-specific XAML examples and API reference
---
## [0.4.0] - 2026-03-17
### Added
- NuGet package metadata (Company, Copyright, Icon, README, Repository URL, Tags)
- Release notes auto-inclusion in NuGet package
- `publish-nuget.ps1` script for pack → sign → push workflow
---
## [0.3.0] - 2026-03-17
### Added
- `ToolApprovalPanel` templated control for tool execution confirmation UI
- Summarize button wired from `InputContainer` to `ChatPanel`
- External link navigation redirected to default browser from WebView2
### Fixed
- WebView2 stealing focus from TextBox during streaming response
---
## [0.2.0] - 2026-03-16
### Fixed
- Duplicate file attachment on drag-and-drop (event bubbling from InputContainer to ChatPanel)
- Consecutive tool results merged into single user message for Claude compatibility
---
## [0.1.0] - 2026-03-15
### Added
- `ChatPanel` templated control with WebView2-based message rendering
- `InputContainer` templated control with provider/profile selectors and attachment support
- `AttachmentPreviewBar` templated control for file previews
- Markdown rendering via marked.js with code syntax highlighting (highlight.js)
- LaTeX/math rendering via KaTeX
- Code block copy-to-clipboard
- Streaming display with cursor indicator
- Image paste and file picker attachment
- PDF and DOCX text extraction for document attachments
- Localization support (en-US, ko-KR)