WinUIHelpers 1.1.0

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

WinUI Helpers

Set of useful helpers and boilerplate code for WinUI

Decumentation

See the WinUI Helpers Gallery app for documentation and samples.

Installation

Install the NuGet package from the NuGet Gallery:

Install-Package WinUIHelpers

or via the .NET CLI:

dotnet add package WinUIHelpers

Requirements

  • .NET 8.0 or later
  • Windows App SDK 1.7 or later

License

This project is licensed under the GNU General Public License v2 - see the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.19041 is compatible.  net9.0-windows 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.1.0 200 9/13/2025
1.0.0 207 9/1/2025

Features

- Exposed the `TitleBar` in the custom `Window`, allowing easy access to modify its properties and content.

Fixes

- `Content` now correctly fills the entire space of the `ContentControl`.
- Fix setting `Position` in XAML with `X` and `Y` (coordinates), and `StartPosition` (`"Default"`/`"Center"`). `Position` property is still available for code-behind.