Skip to main content
net8.0net8.0-android34.0net8.0-ios18.0net8.0-maccatalyst18.0UAP10.0.17763

Resize various parts of your UI easily in a consistent fashion.

Published
Nov 14, 2024
1y ago
Total Downloads
19.6K
19,625

Install

dotnet add package CommunityToolkit.Uwp.Controls.Sizers --version 8.2.241112-preview1
ProductVersions
.NET
net8.0net8.0-android34.0net8.0-ios18.0net8.0-maccatalyst18.0
Universal Windows Platform
uap10.0.17763

README

Windows Community Toolkit - Sizers

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:

  • ContentSizer
  • GridSplitter
  • PropertySizer
  • SizerBase

Which Package is for me?

If you're developing with UWP/WinUI 2 or Uno.UI you should be using the CommunityToolkit.Uwp.Controls.Sizers package.

If you're developing with WindowsAppSDK/WinUI 3 or Uno.WinUI you should be using the CommunityToolkit.WinUI.Controls.Sizers 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.

Changes from Previous Version

v8.1.240916v8.2.241112-preview1
Added Frameworks
net8.0-ios18.0net8.0-maccatalyst18.0
Removed Frameworks
net8.0-ios17.5net8.0-maccatalyst17.5
Added Dependencies
Uno.Fonts.Fluent(net8.0-ios18.0)
Uno.UI(net8.0-ios18.0)
CommunityToolkit.Uwp.Extensions(net8.0-maccatalyst18.0)
Uno.Fonts.Fluent(net8.0-maccatalyst18.0)
Uno.UI(net8.0-maccatalyst18.0)
Removed Dependencies
Uno.Fonts.Fluent(net8.0-ios17.5)
Uno.UI(net8.0-ios17.5)
CommunityToolkit.Uwp.Extensions(net8.0-maccatalyst17.5)
Uno.Fonts.Fluent(net8.0-maccatalyst17.5)
Uno.UI(net8.0-maccatalyst17.5)

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.The published metadata declares 14 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.