The Windows Community Toolkit in version 8.1 brings various innovations coming from the community. These include updates TabbedCommandBar
An overlay for ImageCropper
and an update for DockPanel
, ColorPicker
and this ColorPickerButton
Returned with a revised UX.
Advertisement
The toolkit appears under the umbrella of the non-profit organization .NET Foundation. It includes a collection of controls for the WinUI 2, WinUI 3, and Uno platforms for .NET applications with target platforms Windows 10 and Windows 11.
Updated dependencies for .NET 8.0 support
The toolkit development team has updated dependencies: to Uno Platform 5.2 and the latest Windows App SDK 1.5. This was necessary to be able to deal with .NET 8.0 and resolve difficulties within the toolkit. Support for the current version .NET 8.0 through Windows App SDK 1.5 comes with significant changes to the Target Framework Moniker (TFM).
The target in the toolkit is now to set Windows version 22621 (previously: version 18362). So developers already have a target net6.0-windows10.0.18362
has been used, you need to turn it on net6.0-windows10.0.22621
adjust. Also, when updating an application to .NET 8.0 for the first time, make sure that in the csproj RuntimeIdentifier
To update.
(Image: Dmytro Vikarchuk/Shutterstock)
But Online Conference BetterCode() .NET 9.0 On November 19, 2024 by iX and dpunkt.verlag, .NET experts from www.IT-Visions.de will present a ready-made version of .NET 9.0 using practical examples. These include the .NET 9.0 SDK, C# 13.0, ASP.NET Core 9.0, Blazor 9.0, Windows Forms 9.0, WPF 9.0, WinUI, innovations in .NET MAUI 9.0 and the integration of artificial intelligence into .NET applications. Program Offers six lectures, one discussion, and six workshops.
Tickets are available until October 22 Available at an introductory price,
Old Windows Community Toolkit NuGet packages have been updated to point to the closest version 8.1 equivalents. For example, Microsoft.Toolkit.Uwp.UI.Controls.Primitives now points to CommunityToolkit.Uwp.Controls.Primitives. According to the development team, notifications about old packages should appear in Visual Studio. Anyone migrating from old 7.x packages can do so Migration guide on GitHub Please consult.
New features for TabbedCommandBar, ImageCropper, ColorPicker and more

Displays the overlay crop size for the ImageCropper control.
(Image: Microsoft)
The release includes some innovations that come from community involvement. This is how it happened TabbedCommandBar
(Originally from yoshi askharaun in v7.0) based on Drag request from Niels Lothe Ported to version 8.1 and fits the design of other WinUI controls. For ImageCropper
There is now a brush as an overlay that can be used to see the crop size in the live preview.
In DockPanel
can now HorizontalSpacing
And VerticalSpacing
according to Drag Request by Poker-Sang Use between elements.
Horizontal and vertical spacing between elements in DockPanel
(Image: Microsoft)
ColorPicker
and this ColorPickerButton
Originally for version 7.0 Robert Looyengoeed Contributions return in v8.1 with new design and optimized UX (Drag request from Niels Lothe,
ColorPicker presents itself with a new look.
(Image: Microsoft)
Participate in Windows Community Toolkit Labs
If you want to exchange ideas about new projects for the toolkit, you’ll find a place to do so here Windows Community Toolkit Labswhich are represented on GitHub and provide a place for experiments. They provide a starting point for all new features that eventually end up in the toolkit. Both prototyping of a feature and jointly improving it should happen there. This should allow the final pull request to be integrated as smoothly as possible into the main repository of the Windows Community Toolkit.
All information about this and other innovations mentioned in the release Microsoft’s developer blog offers,
(May)
