RoyalApps.Community.Avalonia.Windows 1.4.0

Prefix Reserved
dotnet add package RoyalApps.Community.Avalonia.Windows --version 1.4.0
                    
NuGet\Install-Package RoyalApps.Community.Avalonia.Windows -Version 1.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RoyalApps.Community.Avalonia.Windows" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RoyalApps.Community.Avalonia.Windows" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="RoyalApps.Community.Avalonia.Windows" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RoyalApps.Community.Avalonia.Windows --version 1.4.0
                    
#r "nuget: RoyalApps.Community.Avalonia.Windows, 1.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RoyalApps.Community.Avalonia.Windows@1.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RoyalApps.Community.Avalonia.Windows&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=RoyalApps.Community.Avalonia.Windows&version=1.4.0
                    
Install as a Cake Tool

RoyalApps.Community.Avalonia

Reusable controls and behaviors for Avalonia, plus Windows Forms hosting with explicit lifetime management.

NuGet License: MIT

Libraries

Library Features Platform
RoyalApps.Community.Avalonia.Common AmbientGlowDecorator, CompositionRingSpinner, and GridSplitterBehavior Cross-platform Avalonia
RoyalApps.Community.Avalonia.Windows WinFormsControlHost with persistent control state and explicit disposal Windows

The current source targets .NET 10 and Avalonia 12.1.2. Published package requirements can differ; check the version you install.

Documentation

Read the documentation or start with the getting started guide, then explore:

See the contributing guide for code changes, testing, and documentation updates.

Sample application

The component demo showcases all four components with live previews, property editors, reset actions, and usage snippets. Common samples run on Windows, macOS, and Linux; native WinForms hosting is available on Windows.

dotnet run --project src/RoyalApps.Community.Avalonia.Demo/RoyalApps.Community.Avalonia.Demo

<picture><source media="(prefers-color-scheme: dark)" srcset="docs/public/assets/demo/sample-browser-dark.png"><img alt="The component browser showing the ring spinner sample and its property editors" src="docs/public/assets/demo/sample-browser-light.png"></picture>

<details> <summary>Animated component previews</summary>

Ambient glow Ring spinner
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/public/assets/demo/ambient-glow-dark.gif"><img alt="Traveling highlight and ambient bloom" src="docs/public/assets/demo/ambient-glow-light.gif"></picture> <picture><source media="(prefers-color-scheme: dark)" srcset="docs/public/assets/demo/ring-spinner-dark.gif"><img alt="Rotating ring with a growing and shrinking arc" src="docs/public/assets/demo/ring-spinner-light.gif"></picture>
GridSplitter sample: resize and reset WinForms: state across tabs
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/public/assets/demo/grid-splitter-dark.gif"><img alt="Resizing columns and rows, then resetting the sample proportions" src="docs/public/assets/demo/grid-splitter-light.gif"></picture> <picture><source media="(prefers-color-scheme: dark)" srcset="docs/public/assets/demo/winforms-hosting-dark.gif"><img alt="Native text and instance identity preserved across tab changes" src="docs/public/assets/demo/winforms-hosting-light.gif"></picture>

</details>

License

MIT · Royal Apps GmbH

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows7.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 49 9/18/2026
1.3.0 117 9/7/2026
1.2.0 266 1/8/2025
1.0.3 240 6/22/2023
1.0.1 209 6/22/2023