WinForms.Easel.Generator
3.0.0
dotnet add package WinForms.Easel.Generator --version 3.0.0
NuGet\Install-Package WinForms.Easel.Generator -Version 3.0.0
<PackageReference Include="WinForms.Easel.Generator" Version="3.0.0" />
<PackageVersion Include="WinForms.Easel.Generator" Version="3.0.0" />
<PackageReference Include="WinForms.Easel.Generator" />
paket add WinForms.Easel.Generator --version 3.0.0
#r "nuget: WinForms.Easel.Generator, 3.0.0"
#:package WinForms.Easel.Generator@3.0.0
#addin nuget:?package=WinForms.Easel.Generator&version=3.0.0
#tool nuget:?package=WinForms.Easel.Generator&version=3.0.0
<div align="center">
<img src="Assets/easel-logo.png" width="96" height="96" alt="Easel logo">
Easel
A XAML-first UI runtime for WinForms.
<img src="Assets/gallery-data-grid.png" width="100%" alt="Easel Gallery in Light+: a virtualized two-dimensional DataGrid with sortable headers, badge and progress cells, row numbers and native row drag"> <sub><b>Gallery · Data</b> — one visual tree, a virtualized 2-D <code>DataGrid</code>, and a live view model.</sub>
<img src="Assets/gallery-industrial.png" width="100%" alt="Industrial Workbench in its HMI palette: a control wall with circular gauges, trends, a tank, pipe flow, valves, a knob and an alarm banner"> <sub><b>Industrial Workbench</b> — a separate demo: fourteen live HMI controls on one visual surface.</sub>
</div>
What it is
Easel puts a WPF/Avalonia-shaped control library over a single WinForms VisualHost. Every control
derives from VisualElement; the tree paints in one pass and the markup compiles ahead of time.
- One surface.
VisualHostis the only top-level HWND.native:elements andNativeControlHostare the deliberate native islands inside the layout. - XAML-first.
.xamlviews compile toInitializeComponent;[XamlProperty]becomes a dependency property. There is no runtime XAML loader. - Everything visual is a control. Layout, text, data, overlays, styles, templates, triggers,
resources and compiled
x:DataTypebindings. - Animation built in. Trigger actions, keyframe animations and
VisualTransition; nothing to register. - Themes as dictionaries. Dark+ and Light+ XAML palettes, high contrast, follow-system and custom
ResourceDictionarythemes. - Data and visuals.
DataGrid,VirtualizingListBox,TreeView,ComboBox, calendar and date pickers; gradient brushes, opacity masks, effects, cached layers and perspective 3D.
Quick start
dotnet add package WinForms.Easel
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:MyApp.Views"
x:Class="MyApp.MainWindow" Title="My app" Width="1200" Height="800">
<local:DashboardView />
</Window>
using Easel.Visuals;
public partial class MainWindow : Window
{
public MainWindow() => InitializeComponent();
}
Application.Run(new MainWindow());
WinForms.Easel targets net45, net5.0-windows, netcoreapp3.0 and net8.0-windows; generated
code follows the project's language version.
Examples
| Path | What it is |
|---|---|
Examples/XamlGallery |
The catalogue behind both screenshots: controls, scenario pages, themes and capture switches |
Examples/IndustrialWorkbench |
A control workbench with self-drawn HMI widgets |
skills/ |
The WinForms XAML UI guide |
Build and test
dotnet build Easel.slnx -c Release
dotnet test Src/Test/Unit/Easel.Test/Easel.Test.csproj -c Release
License
Released under the MIT License. © 2025 Axvser
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on WinForms.Easel.Generator:
| Package | Downloads |
|---|---|
|
WinForms.Easel
A XAML-first UI runtime for WinForms: dependency properties, a Roslyn XAML compiler, a WPF/Avalonia-shaped visual control library over a single HWND, and a built-in property-animation engine. |
GitHub repositories
This package is not used by any popular GitHub repositories.