Hawkynt.NativeForms.Backends.Windows 1.0.0.70

dotnet add package Hawkynt.NativeForms.Backends.Windows --version 1.0.0.70
                    
NuGet\Install-Package Hawkynt.NativeForms.Backends.Windows -Version 1.0.0.70
                    
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="Hawkynt.NativeForms.Backends.Windows" Version="1.0.0.70" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hawkynt.NativeForms.Backends.Windows" Version="1.0.0.70" />
                    
Directory.Packages.props
<PackageReference Include="Hawkynt.NativeForms.Backends.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 Hawkynt.NativeForms.Backends.Windows --version 1.0.0.70
                    
#r "nuget: Hawkynt.NativeForms.Backends.Windows, 1.0.0.70"
                    
#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 Hawkynt.NativeForms.Backends.Windows@1.0.0.70
                    
#: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=Hawkynt.NativeForms.Backends.Windows&version=1.0.0.70
                    
Install as a Cake Addin
#tool nuget:?package=Hawkynt.NativeForms.Backends.Windows&version=1.0.0.70
                    
Install as a Cake Tool

Hawkynt.NativeForms.Backends.Windows

NuGet NuGet downloads License CI

The Windows backend for NativeForms: a reflection-free, source-generated P/Invoke layer that renders NativeForms controls through native USER32 window classes.

📦 Installation

dotnet add package Hawkynt.NativeForms.Backends.Windows

This is a backend for NativeForms. Install the core package too — it carries the controls. It compiles on any operating system but only runs on Windows.

✨ Features

  • Renders NativeForms controls on Windows through Win32 / USER32.
  • Top-level windows, BUTTON and STATIC are real USER32 window classes; every other control is owner-drawn.
  • Reflection-free and source-generated, so it survives trimming and NativeAOT.
  • Referenced but never registered, the whole backend is dropped again by the trimmer.

🚀 Quick start

Register the backend before creating a window. Registering more than one is fine: an application can carry every platform it ships on.

using Hawkynt.NativeForms;
using Hawkynt.NativeForms.Backends;
using Hawkynt.NativeForms.Backends.Windows;

BackendRegistry.Register(new Win32Backend());

var form = new Form { Text = "Hello", Bounds = new(0, 0, 320, 160) };
Application.Run(form);

📚 API reference

Every public and protected member of all 1 type, generated from the built assembly and its XML documentation, is in REFERENCE.md.

🔌 Dependencies

Package Why
Hawkynt.NativeForms The controls, layout and backend abstraction this package implements.

Runtime requirement: Windows. No additional runtime to install.

⚠️ Limitations

  • Compiles anywhere, runs only on Windows. Registering it on another platform will fail at runtime.

❤️ Support

If this project saves you time or money, consider supporting its development:

GitHub Sponsors PayPal

📜 License

Licensed under LGPL-3.0-or-later — see the repository LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.0.0.70 75 9/30/2026
1.0.0.63 2,093 8/1/2026
1.0.0.62 2,472 7/31/2026
1.0.0.60 256 7/30/2026