CommunityToolkit.WinUI.Controls.Primitives 8.2.241112-preview1

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.241112-preview1
                    
NuGet\Install-Package CommunityToolkit.WinUI.Controls.Primitives -Version 8.2.241112-preview1
                    
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.241112-preview1" />
                    
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.241112-preview1" />
                    
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.241112-preview1
                    
#r "nuget: CommunityToolkit.WinUI.Controls.Primitives, 8.2.241112-preview1"
                    
#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.
#addin nuget:?package=CommunityToolkit.WinUI.Controls.Primitives&version=8.2.241112-preview1&prerelease
                    
Install CommunityToolkit.WinUI.Controls.Primitives as a Cake Addin
#tool nuget:?package=CommunityToolkit.WinUI.Controls.Primitives&version=8.2.241112-preview1&prerelease
                    
Install CommunityToolkit.WinUI.Controls.Primitives 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 net6.0-windows10.0.19041 is compatible.  net7.0-windows was computed.  net7.0-windows10.0.18362 is compatible.  net7.0-windows10.0.19041 is compatible.  net8.0 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios18.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-maccatalyst18.0 is compatible.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows10.0.18362 is compatible.  net8.0-windows10.0.19041 is compatible.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

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

Package Downloads
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.

ShadowViewer.Plugin.Bika

ShadowViewer哔咔漫画插件

GitHub repositories (25)

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

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
files-community/Files
A modern file manager that helps users organize their files and folders.
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
marticliment/UniGetUI
UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
Sophia-Community/SophiApp
:zap: The most powerful open source tweaker on GitHub for fine-tuning Windows 10 & Windows 11
DGP-Studio/Snap.Hutao
实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
MicaForEveryone/MicaForEveryone
Mica For Everyone is a tool to enable backdrop effects on the title bars of Win32 apps on Windows 11.
Richasy/Bili.Copilot
B站第三方 Windows 桌面客户端,使用 Windows App SDK 构建的原生应用
Scighost/Starward
Game Launcher for miHoYo - 米家游戏启动器
microsoft/devhome
The new Dev Home experience for Windows!
microsoft/WinUI-Gallery
This app demonstrates the controls available in WinUI and the Fluent Design System.
Sergio0694/ComputeSharp
A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
Pixeval/Pixeval
Wow. Yet another Pixiv client!
HotCakeX/Harden-Windows-Security
Harden Windows Safely, Securely using Official Supported Microsoft methods and proper explanation | Always up-to-date and works with the latest build of Windows | Provides tools and Guides for Personal, Enterprise, Government and Military security levels | Read The Rationale https://github.com/HotCakeX/Harden-Windows-Security/blob/main/Rationale.md
CollapseLauncher/Collapse
An Advanced Launcher for miHoYo/HoYoverse Games
rayenghanmi/RyTuneX
RyTuneX is a cutting-edge optimizer built with the WinUI 3 framework, designed to amplify the performance of Windows devices. Crafted for both Windows 10 and 11.
microsoft/ai-dev-gallery
An open-source project for Windows developers to learn how to add AI with local models and APIs to Windows apps.
2fast-team/2fast
Two-Factor Authenticator Supporting TOTP (Windows 10 & Android, iOS, Linux and macOS App)
CommunityToolkit/Labs-Windows
A safe space to collaborate and engineer solutions from the prototyping stage all the way through polished finalized component for the Windows Community Toolkit.
FireCubeStudios/FluentFlyouts
Fluent Flyouts
Version Downloads Last updated
8.2.250402 1,219 4/2/2025
8.2.250129-preview2 6,229 1/28/2025
8.2.241112-preview1 3,316 11/14/2024
8.1.240916 57,610 9/16/2024
8.1.240821 9,213 8/22/2024
8.1.240606-rc 7,135 6/6/2024
8.1.240328-rc 8,521 3/28/2024
8.0.240109 46,206 1/9/2024
8.0.230907 15,062 9/7/2023
8.0.230828-rc 218 8/29/2023
8.0.230823-rc 406 8/23/2023