CommunityToolkit.WinUI.Controls.Primitives 8.1.240821

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.

No packages depend on CommunityToolkit.WinUI.Controls.Primitives.

.NET 6.0

.NET 7.0

.NET 8.0

.NET 8.0

.NET 8.0

.NET 8.0

.NET 8.0

UAP 10.0.17763

Version Downloads Last updated
8.2.250402 4 08/19/2025
8.2.250129-preview2 1 08/21/2025
8.2.241112-preview1 1 08/21/2025
8.1.240916 1 08/21/2025
8.1.240821 1 08/21/2025
8.1.240606-rc 1 08/21/2025
8.1.240328-rc 1 08/21/2025
8.0.240109 1 08/21/2025
8.0.230907 1 08/21/2025
8.0.230828-rc 1 08/21/2025
8.0.230823-rc 1 08/21/2025