News

Windows Community Toolkit Update Improves Controls

The Windows Community Toolkit advanced to version 8.1, adding new features, improving existing controls and making dependency changes.

The toolkit is a community-driven project hosted by the .NET Foundation and helmed by Microsoft with help from Uno Platform, an open-source project for building single-source C# and WinUI apps that run natively on Windows, iOS, Android, macOS, Linux and Web via WebAssembly.

Windows Community Toolkit
[Click on image for larger view.] Windows Community Toolkit (source: Microsoft).

The kit features controls for WinUI 2 (older UI framework catering to UWP), WinUI 3 (native UI framework) and Uno Platform that are designed to simplify and demonstrate common tasks for app development on Windows 10 and Windows 11 with .NET.

Speaking of controls, two were featured in the v8.1 update announced last week:

  • Color Picker: ColorPicker and ColorPickerButton return with 8.1, and have been upgraded with a new look and feel and optimized UX.
  • TabbedCommandBar: The TabbedCommandBar has been ported to 8.1 and has adopted a modern look and feel, so it fits right in with other WinUI controls.

Other items of note include:

  • .NET 8 Support: The Windows Community Toolkit now supports .NET 8 with Windows App SDK 1.5.
  • Camera Helpers: The Camera helpers have been updated and fixed to now work with the WindowsAppSDK.
  • ImageCropper Overlay: You can now provide a brush to use as the overlay for the ImageCropper control. This can allow you to show the crop shape or other ornaments that will be added in your post-processing during the live preview.
  • DockPanel Spacing: DockPanel now supports both HorizontalSpacing and VerticalSpacing between elements to provide it options inline with other modern panels.
  • Initial AOT Annotations: With this PR, the dev team started looking at annotations for Native AOT support and will continue to test support for the upcoming WindowsAppSDK 1.6 release, stay tuned for more information and updates.
  • Dependencies/TFM: The Toolkit's dependencies have been updated to the latest WindowsAppSDK 1.5 and Uno Platform 5.2 versions to take in fixes and updates that devs needed to support .NET 8 and address other issues within the Toolkit.
  • Older Package NuGet Redirects: Many older 7.x and below NuGet packages of the Windows Community Toolkit have been updated to redirect to their closest matching 8.1 counterparts.

Other changes are associated with Windows Community Toolkit Labs, set up by Microsoft as a place to incubate and iterate over new ideas, try things out worry-free, see what gets used by the community and then decide whether to bring them into the main repository when they're ready and well-tested.

Items of discussion there include the MarkdownTextBlock component that was rebuilt on top of the Markdig parser, along with an initial version of the common Ribbon pattern.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube