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
                    
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="WinForms.Easel.Generator" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WinForms.Easel.Generator" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="WinForms.Easel.Generator" />
                    
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 WinForms.Easel.Generator --version 3.0.0
                    
#r "nuget: WinForms.Easel.Generator, 3.0.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 WinForms.Easel.Generator@3.0.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=WinForms.Easel.Generator&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=WinForms.Easel.Generator&version=3.0.0
                    
Install as a Cake Tool

<div align="center">

<img src="Assets/easel-logo.png" width="96" height="96" alt="Easel logo">

Easel

A XAML-first UI runtime for WinForms.

NuGet License Claude Code

<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. VisualHost is the only top-level HWND. native: elements and NativeControlHost are the deliberate native islands inside the layout.
  • XAML-first. .xaml views compile to InitializeComponent; [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:DataType bindings.
  • 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 ResourceDictionary themes.
  • 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

There are no supported framework assets in this package.

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.

Version Downloads Last Updated
3.0.0 60 11/27/2026
2.0.0 55 11/26/2026
1.3.0 63 11/25/2026
1.2.0 65 11/24/2026
1.1.0 144 11/24/2026
1.0.0 61 11/24/2026