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
<PackageReference Include="RoyalApps.Community.Avalonia.Windows" Version="1.4.0" />
<PackageVersion Include="RoyalApps.Community.Avalonia.Windows" Version="1.4.0" />
<PackageReference Include="RoyalApps.Community.Avalonia.Windows" />
paket add RoyalApps.Community.Avalonia.Windows --version 1.4.0
#r "nuget: RoyalApps.Community.Avalonia.Windows, 1.4.0"
#:package RoyalApps.Community.Avalonia.Windows@1.4.0
#addin nuget:?package=RoyalApps.Community.Avalonia.Windows&version=1.4.0
#tool nuget:?package=RoyalApps.Community.Avalonia.Windows&version=1.4.0
RoyalApps.Community.Avalonia
Reusable controls and behaviors for Avalonia, plus Windows Forms hosting with explicit lifetime management.
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- Avalonia (>= 12.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.