Skip to main content
net8.0-windows10.0.19041net9.0net9.0-android35.0net9.0-ios18.0net9.0-maccatalyst18.0net9.0-windows10.0.19041

This package contains various helpers for Colors, Network, Camera, WeakEventListener, PackageVersion, ScreenUnit and more.

Published
Jan 28, 2025
1y ago
Total Downloads
546.0K
546,011

Install

dotnet add package CommunityToolkit.WinUI.Helpers --version 8.2.250129-preview2
ProductVersions
.NET
net8.0-windows10.0.19041net9.0net9.0-android35.0net9.0-ios18.0net9.0-maccatalyst18.0net9.0-windows10.0.19041

README

Windows Community Toolkit - Helpers

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.Helpers namespace:

  • CameraHelper
  • ColorHelper
  • CompositionTargetHelper
  • NetworkHelper
  • ScreenUnitHelper
  • WeakEventListener

Which Package is for me?

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

If you're developing with WindowsAppSDK/WinUI 3 or Uno.WinUI you should be using the CommunityToolkit.WinUI.Helpers package.

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.2.241112-preview1v8.2.250129-preview2
Added Frameworks
net9.0net9.0-android35.0net9.0-ios18.0net9.0-maccatalyst18.0net9.0-windows10.0.19041
Removed Frameworks
net6.0-windows10.0.19041net7.0-windows10.0.19041net8.0net8.0-android34.0net8.0-ios18.0net8.0-maccatalyst18.0
Added Dependencies
Uno.WinUI(net9.0)
Uno.Fonts.Fluent(net9.0-android35.0)
Uno.WinUI(net9.0-android35.0)
Uno.Fonts.Fluent(net9.0-ios18.0)
Uno.WinUI(net9.0-ios18.0)
CommunityToolkit.WinUI.Extensions(net9.0-maccatalyst18.0)
Uno.Fonts.Fluent(net9.0-maccatalyst18.0)
Uno.WinUI(net9.0-maccatalyst18.0)
CommunityToolkit.WinUI.Extensions(net9.0-windows10.0.19041)
Microsoft.WindowsAppSDK(net9.0-windows10.0.19041)
Removed Dependencies
CommunityToolkit.WinUI.Extensions(net6.0-windows10.0.19041)
Microsoft.WindowsAppSDK(net6.0-windows10.0.19041)
CommunityToolkit.WinUI.Extensions(net7.0-windows10.0.19041)
Microsoft.WindowsAppSDK(net7.0-windows10.0.19041)
Uno.WinUI(net8.0)
Uno.Fonts.Fluent(net8.0-android34.0)
Uno.WinUI(net8.0-android34.0)
Uno.Fonts.Fluent(net8.0-ios18.0)
Uno.WinUI(net8.0-ios18.0)
CommunityToolkit.WinUI.Extensions(net8.0-maccatalyst18.0)
Uno.Fonts.Fluent(net8.0-maccatalyst18.0)
+1 more

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 6 target frameworks; confirm the exact target used by your application.The published metadata declares 16 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.