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


Better Jupyter Support For Azure DevOps
26/08/2021

Microsoft has revamped the Jupyter extension for Azure DevOps. The latest extension allows you to render your .ipynb notebook files directly in Azure DevOps now with an improved viewing experience.



A Deep Dive Into PostgreSQL Indexes
10/09/2021

If you are at all confused about which of PostgreSQL index to choose for a specific use case, there's a  free course from Percona University designed to help you.


More News

square

 



 

Comments




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

Last Updated ( Monday, 06 September 2021 )