Avalonia.Markup.Declarative
The set of base classes and extension methods over Avalonia's controls to define views/markup with C# code instead of XAML.
Install
| Product | Versions |
|---|---|
| .NET |
README
Avalonia.Markup.Declarative
Write Avalonia UI with pure C#
repo: https://github.com/AvaloniaUI/Avalonia.Markup.Declarative
to use with external libraries, install AvaloniaExtensionGenerator tool here:
https://www.nuget.org/packages/AvaloniaExtensionGenerator/
Quick Start sample:
Compiled-binding setters support automatic conversion for common primitive and nullable mismatches. Prefer x => x.Property without casts; for example, int -> double and bool -> bool? bindings work without a manual converter, and lossy numeric TwoWay convert-back truncates toward zero.
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.