XamlToolkit.WinUI.Controls.Native 0.2.0-alpha

This is a prerelease version of XamlToolkit.WinUI.Controls.Native.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package XamlToolkit.WinUI.Controls.Native --version 0.2.0-alpha
                    
NuGet\Install-Package XamlToolkit.WinUI.Controls.Native -Version 0.2.0-alpha
                    
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="XamlToolkit.WinUI.Controls.Native" Version="0.2.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XamlToolkit.WinUI.Controls.Native" Version="0.2.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="XamlToolkit.WinUI.Controls.Native" />
                    
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 XamlToolkit.WinUI.Controls.Native --version 0.2.0-alpha
                    
#r "nuget: XamlToolkit.WinUI.Controls.Native, 0.2.0-alpha"
                    
#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 XamlToolkit.WinUI.Controls.Native@0.2.0-alpha
                    
#: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=XamlToolkit.WinUI.Controls.Native&version=0.2.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=XamlToolkit.WinUI.Controls.Native&version=0.2.0-alpha&prerelease
                    
Install as a Cake Tool

WinUI Community Toolkit (C++ Port)

XamlToolkit.WinUI.Native provides C++/WinRT ports of CommunityToolkit.WinUI controls,
enabling seamless use of these components in WinUI 3 / C++ projects.


✨ Features

  • 100% native C++/WinRT implementation.
  • API design consistent with CommunityToolkit.WinUI.
  • Suitable for WinUI 3 applications written in C++.
  • Includes modern controls and layout containers with full XAML integration.

🧩 Included Controls

  • MarkdownTextBlock — syntax highlighting for C#, C++, XML, JSON, Shell.
  • Marquee, OpacityMaskView, Shimmer, TokenView, Ribbon
  • ColorPicker, ColorPickerButton, DockPanel, ImageCropper
  • LayoutTransformControl, MetadataControl
  • HeaderedContentControl, HeaderedItemsControl, HeaderedTreeView
  • ConstrainedBox, RadialGauge, RangeSelector, Segmented
  • SettingsCard, SettingsExpander, ContentSizer, GridSplitter, PropertySizer
  • StaggeredLayout, SwitchPresenter, TabbedCommandBar
  • TokenizingTextBox, RichSuggestBox, UniformGrid, WrapPanel, StaggeredPanel
  • AttachedDropShadow, AttachedCardShadow
  • CameraPreview

⚠️ Note:
RadialGauge.ValueStringFormat uses C++ std::format syntax instead of .NET string format syntax.


🛠️ Installation

Add the package via NuGet:

dotnet add package XamlToolkit.WinUI.Controls.Native
Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.26100 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on XamlToolkit.WinUI.Controls.Native:

Package Downloads
XamlToolkit.Labs.WinUI.Native

WinUI Community Toolkit (C++ Port).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0-alpha 146 8/2/2026
0.7.0-alpha 119 6/14/2026
0.6.0-alpha 103 5/31/2026
0.5.0-alpha 130 4/12/2026
0.4.0-alpha 140 4/4/2026
0.3.0-alpha 393 1/14/2026
0.2.0-alpha 168 12/6/2025
0.1.0-alpha 223 11/2/2025

Updated features.