XamlToolkit.WinUI.Native 0.7.0-alpha

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

🎬 Animations

  • XamlToolkit.WinUI.Animations — Animation components for WinUI

🧩 Behaviors

  • XamlToolkit.WinUI.Behaviors — Behavior components for WinUI

🧱 Controls & Layout

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

⚠️ 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 (5)

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

Package Downloads
XamlToolkit.WinUI.Controls.Native

WinUI Community Toolkit (C++ Port).

XamlToolkit.WinUI.Helpers.Native

WinUI Community Toolkit (C++ Port).

XamlToolkit.Labs.WinUI.Native

WinUI Community Toolkit (C++ Port).

XamlToolkit.WinUI.Media.Native

WinUI Community Toolkit (C++ Port).

XamlToolkit.WinUI.Animations.Native

WinUI Community Toolkit (C++ Port).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0-alpha 114 6/14/2026
0.6.0-alpha 104 5/31/2026
0.5.0-alpha 97 4/12/2026
0.4.0-alpha 92 4/4/2026
0.3.0-alpha 346 1/14/2026
0.2.0-alpha 151 12/6/2025
0.1.0-alpha 205 11/2/2025

Updated features.