CommunityToolkit.WinUI.Controls.Primitives 8.1.240916

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.WinUI.Controls.Primitives --version 8.1.240916                
NuGet\Install-Package CommunityToolkit.WinUI.Controls.Primitives -Version 8.1.240916                
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.1.240916" />                
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.1.240916                
#r "nuget: CommunityToolkit.WinUI.Controls.Primitives, 8.1.240916"                
#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.1.240916

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

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.22621 is compatible.  net7.0-windows was computed.  net7.0-windows10.0.18362 is compatible.  net7.0-windows10.0.22621 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-ios17.5 is compatible.  net8.0-maccatalyst was computed.  net8.0-maccatalyst17.5 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.22621 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 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.

GitHub repositories (13)

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

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
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
DGP-Studio/Snap.Hutao
实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
microsoft/devhome
The new Dev Home experience for Windows!
Version Downloads Last updated
8.2.241112-preview1 212 11/14/2024
8.1.240916 11,870 9/16/2024
8.1.240821 8,810 8/22/2024
8.1.240606-rc 7,033 6/6/2024
8.1.240328-rc 8,491 3/28/2024
8.0.240109 33,700 1/9/2024
8.0.230907 13,730 9/7/2023
8.0.230828-rc 204 8/29/2023
8.0.230823-rc 276 8/23/2023