CommunityToolkit.WinUI.Controls.Primitives 8.2.250129-preview2

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

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:

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

See Getting Started in WinUI 2 for more information.

Documentation

Further documentation about these components can be found at: https://aka.ms/windowstoolkitdocs

License

MIT

See License.md in package for more details.

Product Compatible and additional computed target framework versions.
.NET net7.0-windows10.0.18362 is compatible.  net8.0-windows was computed.  net8.0-windows10.0.18362 is compatible.  net8.0-windows10.0.19041 is compatible.  net9.0 is compatible.  net9.0-android was computed.  net9.0-android35.0 is compatible.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-ios18.0 is compatible.  net9.0-maccatalyst was computed.  net9.0-maccatalyst18.0 is compatible.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.0-windows10.0.18362 is compatible.  net9.0-windows10.0.19041 is compatible.  net10.0 was computed.  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 (11)

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

Package Downloads
WindowSill.ImageHelper

Drag & drop images into WindowSill for instant processing — single files or entire batches. • Convert between PNG, JPG, GIF & more • Resize with custom dimensions • Compress to reduce file size All the essential image tools you need, right in your digital window sill.

WindowSill.AppLauncher

Cut through desktop clutter & launch what you need instantly. • Group apps, files & folders into custom collections • Launch a single app or an entire group in one click • Auto-generated group icons with full customization • Manage groups easily from settings. Your shortcuts, organized your way.

CommunityToolkit.WinUI.Controls.TokenizingTextBox

A text input control that auto-suggests and displays token items.

CommunityToolkit.WinUI.Controls.ColorPicker

An extended color picker that enables picking a color using a spectrum, sliders, or text input.

WindowSill.VideoHelper

Drag & drop videos into WindowSill for instant processing — single files or entire batches. • Convert between MP4, AVI, MOV & more • Compress to reduce file size All the essential video tools you need, right in your digital window sill.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.3.260402-preview2 4,975 4/2/2026
8.3.260211-preview1 446 2/11/2026
8.2.251219 71,243 12/20/2025
8.2.250402 122,011 4/2/2025
8.2.250129-preview2 7,383 1/28/2025
8.2.241112-preview1 4,169 11/14/2024
8.1.240916 90,416 9/16/2024
8.1.240821 9,812 8/22/2024
8.1.240606-rc 7,324 6/6/2024
8.1.240328-rc 8,684 3/28/2024
8.0.240109 105,906 1/9/2024
8.0.230907 16,653 9/7/2023
8.0.230828-rc 369 8/29/2023
8.0.230823-rc 771 8/23/2023