CommunityToolkit.WinUI.Controls.Primitives 8.0.230907

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET 6.0
dotnet add package CommunityToolkit.WinUI.Controls.Primitives --version 8.0.230907
NuGet\Install-Package CommunityToolkit.WinUI.Controls.Primitives -Version 8.0.230907
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="CommunityToolkit.WinUI.Controls.Primitives" Version="8.0.230907" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommunityToolkit.WinUI.Controls.Primitives --version 8.0.230907
#r "nuget: CommunityToolkit.WinUI.Controls.Primitives, 8.0.230907"
#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.
// Install CommunityToolkit.WinUI.Controls.Primitives as a Cake Addin
#addin nuget:?package=CommunityToolkit.WinUI.Controls.Primitives&version=8.0.230907

// Install CommunityToolkit.WinUI.Controls.Primitives as a Cake Tool
#tool nuget:?package=CommunityToolkit.WinUI.Controls.Primitives&version=8.0.230907

Windows Community Toolkit - Primitives

This package is part of the Windows Community Toolkit from the .NET Foundation.

Package Contents

This package contains the following controls in the CommunityToolkit.WinUI.Controls namespace:

  • ConstrainedBox
  • DockPanel
  • StaggeredLayout
  • StaggeredPanel
  • SwitchPresenter
  • UniformGrid
  • WrapLayout
  • WrapPanel

Which Package is for me?

If you're developing with UWP/WinUI 2 or Uno.UI you should be using the CommunityToolkit.Uwp.Controls.Primitives package.

If you're developing with WindowsAppSDK/WinUI 3 or Uno.WinUI you should be using the CommunityToolkit.WinUI.Controls.Primitives package.

WinUI Resources (UWP)

For UWP projects, the WinUI 2 reference requires you include the WinUI XAML Resources in your App.xaml file:

        <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />

See Getting Started in WinUI 2 for more information.


Further documentation about these components can be found at:



See in package for more details.

Product Compatible and additional computed target framework versions.
.NET net6.0-windows10.0.19041 is compatible.  net7.0 is compatible.  net7.0-android was computed.  net7.0-android33.0 is compatible.  net7.0-ios was computed.  net7.0-ios16.1 is compatible.  net7.0-maccatalyst was computed.  net7.0-maccatalyst16.1 is compatible.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net7.0-windows10.0.19041 is compatible.  net8.0 was computed.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CommunityToolkit.WinUI.Controls.Primitives:

Package Downloads
CommunityToolkit.WinUI.Controls.TokenizingTextBox The ID prefix of this package has been reserved for one of the owners of this package by

This package contains TokenizingTextBox.

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on CommunityToolkit.WinUI.Controls.Primitives:

Repository Stars
Windows system utilities to maximize productivity
Dev Home Experience
实用的开源多功能原神工具箱 🧰 / Multifunctional Open-Source Genshin Impact Toolkit 🧰
An Advanced Launcher for miHoYo Games
Download web video and audio
Version Downloads Last updated
8.0.230907 6,140 9/7/2023
8.0.230828-rc 121 8/29/2023
8.0.230823-rc 126 8/23/2023