Skip to main content
Microsoft.Toolkit.Uwp.UI.Controls.Primitives package icon

Microsoft.Toolkit.Uwp.UI.Controls.Primitives

This library provides controls for use in XAML which don't provide their own style. It is a part of the Windows Community Toolkit. Controls: - AdaptiveGridView: Presents items in an evenly-spaced set of columns to fill the total available space. - ConstrainedBox: Constrain child element by aspect ratio, scale, or multiple. - DockPanel: Define areas where you can arrange child elements either horizontally or vertically, relative to each other. - StaggeredLayout: Layout of items in a column approach where an item will be added to whichever column has used the least amount of space. - StaggeredPanel: Layout of items in a column approach where an item will be added to whichever column has used the least amount of space. - SwitchPresenter: A presenter which can act as a switch statement for layout providing alternate layouts based on a value. - UniformGrid: Presents items in an evenly-spaced set of rows or columns to fill the total available display space. - WrapLayout: Positions child elements in sequential position from left to right and breaks content to the next line. - WrapPanel: Positions child elements in sequential position from left to right and breaks content to the next line.

Total Downloads
0
0
Published
Jan 1, 1900
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Toolkit.Uwp.UI.Controls.Primitives --version 7.1.3
Package Manager Console
Install-Package Microsoft.Toolkit.Uwp.UI.Controls.Primitives -Version 7.1.3
PackageReference
<PackageReference Include="Microsoft.Toolkit.Uwp.UI.Controls.Primitives" Version="7.1.3" />

Frameworks

UAP10.0.17763

Dependencies

[7.1.3, )
Microsoft.UI.Xaml
UAP10.0.17763
[2.7.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

NuGet marks this package as deprecated and points to CommunityToolkit.Uwp.Controls.Primitives as an alternative.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

This version is unlisted. Prefer a listed release unless you deliberately need this exact version for reproducibility.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.