MAUI Compatibility For Xamarin Community Toolkit
Written by Kay Ewbank   
Monday, 06 September 2021

The Xamarin Community Toolkit team has announced two new .NET MAUI-compatible versions of the toolkit, a toolkit and a markup toolkit. .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

The news of the two new versions follows the announcement last month of plans for a .NET MAUI Community Toolkit to replace the current Xamarin Community Toolkit which is being retired. The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms.

net2

The .NET MAUI Community Toolkit is fully open-source and community supported, and the developers say they are currently working on porting the features from Xamarin Community Toolkit to the .NET MAUI Community Toolkit.The new MauiCompat libraries are aligned to the latest release of Xamarin.CommunityToolkit, and include support for iOS and Android.

Announcing the new libraries, Brandon Minnick, a developer advocate at Microsoft said:

“The MauiCompat libraries are created as a helpful step in your migration from Xamarin.Forms to .NET MAUI. These libraries ensure that you can access all of the features of Xamarin.CommunityToolkit in your .NET MAUI apps without breaking changes, helping to make your migration to .NET MAUI easier,”

However, Minnick said that the team recommends eventually replacing Xamarin.CommunityToolkit.MauiCompat with the new .NET MAUI Toolkit, CommunityToolkit.Maui, to take advange of new features and optimizations.

The libraries are released as an alpha version and are being built alongside the preview of .NET MAUI, so there are still some elements that are uncertain. In particular, in the non-renderer controls there are some controls that don’t require a separate renderer such as Shield. Those controls are not supported at the moment.

By contrast, the Markup package should just work as it doesn’t rely on renderers. The team says they did make it compatible with all the current .NET MAUI changes and namespaces so you can continue enjoying the markup extensions as before.

The new libraries are available on NuGet.

 net2

More Information

MAUI On GitHub

Xamarin Community Toolkit On GitHub

MAUI Compatible Library For Xamarin Community Toolkit

MAUI Compatible Markup Library For Xamarin Community Toolkit

Related Articles

.NET MAUI Adds New Layouts

Microsoft Will Replace Xamarin Forms With MAUI .NET

.NET 6 Preview Adds MAUI

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Quantum Computing Prize Awarded
05/04/2024

John Preskill, Professor of Theoretical Physics at the California Institute of Technology, is the eighth recipient of the John Stewart Bell Prize for Research on Fundamental Issues in Quantu [ ... ]



Pulumi Adds Infrastructure Lifecycle Management Features
25/04/2024

Pulumi has added new infrastructure lifecycle management features to Pulumi Deployments, its deployments and workflow product.


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 06 September 2021 )