Logo vun Avalonia Versions

Avalonia Versions

Communautéit
linuxdevel
avalonia-versions

Use FIRST when the Avalonia version matters — detecting which Avalonia version a project uses, checking whether a feature/API exists in 11.3, 12.0 or 12.1, migrating 11.x → 12.x, or upgrading 12.0 → 12.1. Contains the version/feature matrix, renamed/removed API tables, and the version-label conventions used by all other Avalonia skills.

Iwwersiicht

Editeurlinuxdevel
RepositoryAvalonia-skills
Skill-Nummavalonia-versions
Stären
50
Forks
4
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum linuxdevel op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Avalonia Versions an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia/avalonia-versions
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/linuxdevel/Avalonia-skills.git /tmp/Avalonia-skills
mkdir -p .claude/skills
cp -r /tmp/Avalonia-skills/skills/avalonia/avalonia-versions .claude/skills/avalonia-versions
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Avalonia Versions an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Avalonia Versions automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Avalonia Versions net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Avalonia Versions & Feature Matrix

Supported Versions

LineLatest patchReleased.NETStatus
12.112.1.412.1.0: Jul 2026net8.0+ (net10.0 recommended; required for Android/iOS)Current stable — default for new projects
12.012.0.512.0.0: Apr 2026same as 12.1Supported — drop-in upgrade to 12.1
11.311.3.22—netstandard2.0 / net6.0+ / .NET FrameworkLegacy — maintenance only; plan migration

Versions older than 11.3 are out of scope; treat them like 11.3 but expect missing APIs.

Step 1 — Detect the Project's Version

Before writing code, find the version. Search in this order:

  1. Directory.Packages.props → <PackageVersion Include="Avalonia" Version="..."/>
  2. *.csproj → <PackageReference Include="Avalonia" Version="..."/>
  3. Directory.Build.props → an AvaloniaVersion property or similar
  4. dotnet list package | grep -i avalonia
sh
grep -rhoE 'Include="Avalonia(\.Desktop)?" Version="[^"]+"' --include='*.csproj' --include='*.props' .
  • No project yet → use 12.1.x (latest patch), net10.0.
  • Mixed versions across Avalonia.* packages → bug. All core Avalonia.* packages must share one version (third-party themes/controls have their own versioning).
  • ReactiveUI.Avalonia, Avalonia.Controls.WebView, Avalonia.Controls.DataGrid, Avalonia.Controls.TreeDataGrid version on their own schedule; check NuGet for the release that matches the core version.

Version Label Convention (used across all skills)

LabelMeaning
(12.0+)Exists from 12.0.0 onward. Not in 11.x
(12.1+)Exists from 12.1.0 onward. Not in 12.0 or 11.x
(11.x)11.x API — removed/obsolete in 12. Only use in 11.x projects
no labelWorks in 11.3, 12.0 and 12.1

When a skill shows a 12.x API and an (11.x) alternative side by side, pick the one that matches the project's version. Never mix — e.g. don't use DataObject in a 12.x project.

Feature Matrix

✅ available · ❌ not available · ⚠️ obsolete (works, warns) · 🧪 experimental

Platform & runtime

Feature11.312.012.1
.NET Framework / netstandard2.0 targets✅❌❌
net8.0 minimum, net10.0 recommended—✅✅
Android/iOS on net10.0 (required)❌✅✅
Mac Catalyst (via Avalonia.iOS)❌✅✅
iOS scene delegate❌✅✅
Rebuilt Android backend, multiple activities, IActivityApplicationLifetime❌✅✅
Android system-theme change detection❌❌✅
Linux AT-SPI2 accessibility❌✅✅
Native Wayland backend (Avalonia.Wayland + .UseWayland())❌❌🧪 (not picked by UsePlatformDetect())
X11 drag-and-drop between processes (XDND)❌❌✅
X11/Windows render at monitor refresh rate (>60 FPS)❌❌✅
Embed Avalonia in WinUI 3 (Avalonia.WinUI)❌❌✅
Windows 11 window corner rounding control❌❌✅
Avalonia.Direct2D1 backend✅❌ (use Skia)❌
Avalonia.Browser.Blazor, Avalonia.Tizen✅❌❌
SBOM shipped with packages❌❌✅

Controls

Control / feature11.312.012.1
GroupBox❌✅✅
PipsPager❌✅✅
Page-based navigation (Page, ContentPage, NavigationPage, TabbedPage, DrawerPage, CarouselPage, CommandBar)❌✅✅
TableView (read-only tabular, virtualized)❌❌✅
NativeWebView / NativeWebDialog open source (Avalonia.Controls.WebView) — Windows, macOS, Linux, iOS; Android experimental; not browser/WASM❌ (commercial)✅✅
DataGrid (Avalonia.Controls.DataGrid)✅✅✅ maintenance mode — prefer TableView/TreeDataGrid for new read-only grids
TreeDataGrid (Avalonia.Controls.TreeDataGrid) — needs Avalonia Accelerate licence since 11.2.0; 12.x packages need Avalonia ≥ 12.0.1✅ (11.x pkg)✅✅
TextBox.PlaceholderText / UseFloatingPlaceholder❌✅✅
TextBox.Watermark / UseFloatingWatermark✅⚠️⚠️
PlaceholderForeground (TextBox, AutoCompleteBox, CalendarDatePicker, NumericUpDown)❌✅✅
TabItem.IconTemplate❌✅✅
FlyoutBase.IsOpen styled property❌✅✅
Carousel gestures + WrapSelection❌✅✅
DrawingImage.Viewbox❌✅✅
NativeDock.Menu (macOS dock menu)❌✅✅
WindowDrawnDecorations (themeable client-side decorations)❌✅✅
Window.WindowDecorations❌✅✅
Window.SystemDecorations / ExtendClientAreaChromeHints✅⚠️ / ❌⚠️ / ❌

Bindings, text, input, threading

Feature11.312.012.1
Compiled bindings on by default (AvaloniaUseCompiledBindingsByDefault defaults true)❌ (opt-in)✅✅
CompiledBinding.Create(...) from LINQ expressions❌✅✅
Binding plugins (BindingPlugins) configurable✅❌ removed❌
Data-annotations validation on by default✅❌ (opt-in)❌
TextOptions (TextRenderingMode etc.)❌✅✅
TextElement.LetterSpacing (inherited)❌ (TextBlock.LetterSpacing)✅✅
UseHarfBuzz() required with explicit UseSkia()❌✅✅
Access keys match printed symbol (accents, digits)❌✅✅
Focus Traversal API (IFocusManager.FindNextElement/TryMoveFocus), cancellable focus, FocusChangedEventArgs❌✅✅
Gesture events directly on InputElement (no Gestures. prefix)❌✅✅
Touch/pen select on release (not press)❌✅✅
Dispatcher.CurrentDispatcher, Dispatcher.FromThread, AvaloniaObject.Dispatcher, Dispatcher.Yield❌✅✅
Async clipboard/drag-drop (IAsyncDataTransfer, DataTransfer)❌✅✅
PlatformFeedback (haptics/sound, Android/iOS)❌❌✅
Hidden controls stop style animations (PlaybackBehavior="Always" to override)❌✅✅

11.x → 12.0 Migration: Renamed / Replaced APIs

11.x12.x
IDataObject / DataObjectIAsyncDataTransfer / DataTransfer + DataTransferItem
DataFormats.Text etc.DataFormat.Text etc.
DragDrop.DoDragDrop(...)await DragDrop.DoDragDropAsync(...)
DragEventArgs.DataDragEventArgs.DataTransfer
IClipboard.GetTextAsync / SetTextAsyncTryGetTextAsync / SetTextAsync (extension methods, ClipboardExtensions)
IClipboard.SetDataObjectAsync / GetDataAsync / GetFormatsAsyncSetDataAsync / TryGetDataAsync / GetDataFormatsAsync
IBinding / InstancedBindingBindingBase / BindingExpressionBase
new Binding(...) in C#ReflectionBinding or CompiledBinding
GotFocusEventArgsFocusChangedEventArgs
KeyboardNavigationHandler.GetNextIFocusManager.FindNextElement(...) / TryMoveFocus(...)
Gestures.Pinch="..." etc. in XAMLPinch="..."
TopLevel.PlatformSettingsvisual.GetPlatformSettings()
VisualExtensions.GetVisualRootGetPresentationSource() → .RootVisual
(TopLevel)visual.GetVisualRoot()TopLevel.GetTopLevel(visual)
SystemDecorations / ExtendClientAreaChromeHintsWindowDecorations
Chrome.TitleBar, CaptionButtons, ChromeOverlayLayerWindowDrawnDecorations
VisualLayerManager.AdornerLayer / OverlayLayerAdornerLayer.GetAdornerLayer(v) / OverlayLayer.GetOverlayLayer(v)
TextBox.Watermark / UseFloatingWatermarkPlaceholderText / UseFloatingPlaceholder
RenderOptions.TextRenderingModeTextOptions.TextRenderingMode
TextBlock.LetterSpacingTextElement.LetterSpacing
AccessText.AccessKey (char)string?
NativeMenuItemToggleTypeMenuItemToggleType
AvaloniaMainActivity<TApp>AvaloniaMainActivity + [Application] class App : AvaloniaAndroidApplication<TApp>
ISingleViewApplicationLifetime (Android)IActivityApplicationLifetime with MainViewFactory (iOS/Browser still use ISingleViewApplicationLifetime)
Avalonia.Diagnostics + AttachDevTools()AvaloniaUI.DiagnosticsSupport + AttachDeveloperTools()
Avalonia.ReactiveUI package (deprecated on NuGet, last 11.3.8)ReactiveUI.Avalonia package (maintained by ReactiveUI team)
Avalonia.Direct2D1 / UseDirect2D1()UseSkia()
xUnit v2 / NUnit 3 (with Avalonia.Headless.*)xUnit v3 / NUnit 4
FuncMultiValueConverter lambda IEnumerable<TIn>IReadOnlyList<TIn>
ResourcesChangedEventArgs.Empty / new(...)ResourcesChangedEventArgs.Create(...) (now a struct)

Removed in 12 (were obsolete in 11)

OpenFileDialog/SaveFileDialog/OpenFolderDialog/SystemDialog → IStorageProvider · ToggleButton.Checked/Unchecked/Indeterminate events → IsCheckedChanged · Popup.PlacementMode/ContextMenu.PlacementMode → Placement · CubicBezierEasing → SplineEasing · CustomAnimatorBase → InterpolatingAnimator<T> · ItemContainerGenerator.ContainerFromIndex → ItemsControl.ContainerFromIndex · BindingPriority.TemplatedParent → Template · DrawingContext.PushPreTransform/PushPostTransform → PushTransform · RadialGradientBrush.Radius → RadiusX/RadiusY · Screen.PixelDensity → Scaling · Screen.Primary → IsPrimary · IStyleable → StyledElement · IActivatableApplicationLifetime → TryGetFeature<IActivatableLifetime>() · IInsetsManager.DisplayEdgeToEdge → DisplayEdgeToEdgePreference · TopLevel.PointerOverElement (no replacement) · TextInputMethodClient.ShowInputPanel → InputPaneActivationRequested event · Type 1 fonts · BinaryFormatter clipboard on Windows.

Behavior changes in 12 (no compile error — silent!)

  • Compiled bindings on by default: {Binding} without x:DataType now fails to compile. Add x:DataType, or use {ReflectionBinding}, or set <AvaloniaUseCompiledBindingsByDefault>false</...>.
  • Data-annotation validation off by default. Properties registered with enableDataValidation: true report errors automatically.
  • Touch/pen: selection/focus on pointer release. ListBoxItem/TreeViewItem handle selection themselves (no bubbling to ItemsControl).
  • Window.WindowState is a direct property — cannot be set from a style.
  • Style-triggered animations pause on invisible controls — set Animation.PlaybackBehavior="Always" to keep ticking.
  • Dispatcher.InvokeAsync captures ExecutionContext (AsyncLocal, culture flow).
  • DispatcherTimer / AvaloniaSynchronizationContext use the current dispatcher, not always the UI thread — create timers on the UI thread.
  • Explicit UseSkia() without UseHarfBuzz() → InvalidOperationException: No text shaping system configured. (UsePlatformDetect() handles this.)
  • Windows ExtendClientAreaToDecorationsHint fixed — remove old margin workarounds.

12.0 → 12.1 Upgrade

Drop-in: bump all Avalonia.* to 12.1.x. No API breaks. Notes:

  • Multiple dirty-rect clipping now off by default; stencil buffers on by default (more HW-accelerated clipping).
  • Apps now render at monitor refresh rate on X11 (and Windows with non-default render modes) — animations that assumed 60 FPS ticks still work (time-based), but CPU/GPU use may rise.
  • Wayland is opt-in and experimental: AppBuilder.Configure<App>().UseWayland() with Avalonia.Wayland; keep UsePlatformDetect() as default.

Common Mistakes

  • Writing 12.x API (DataTransfer, PlaceholderText, GroupBox) into an 11.x project, or 11.x API into 12.x — check version first.
  • Upgrading Avalonia but not Avalonia.Desktop/Avalonia.Themes.Fluent/Avalonia.Headless.* — all must match.
  • Keeping Avalonia.ReactiveUI / Avalonia.Diagnostics after moving to 12 — they don't exist for 12.
  • Forgetting net10.0 on Android/iOS heads in 12.x.
  • Assuming UsePlatformDetect() picks Wayland in 12.1 — it doesn't.

Sources

Heefeg gestallte Froen

Wat mécht de KI-Skill Avalonia Versions?

Use FIRST when the Avalonia version matters — detecting which Avalonia version a project uses, checking whether a feature/API exists in 11.3, 12.0 or 12.1, migrating 11.x → 12.x, or upgrading 12.0 → 12.1. Contains the version/feature matrix, renamed/removed API tables, and the version-label conventions used by all other Avalonia skills.

Firwat Avalonia Versions op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Avalonia Versions besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Avalonia Versions an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia/avalonia-versions an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Avalonia Versions benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Avalonia Versions benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Avalonia Versions domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Avalonia Versions gratis?

Jo. De Skill gëtt vum linuxdevel ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇