DEV Community

Cover image for What’s new in Xamarin.Forms – XAML
Daniel Monettelli
Daniel Monettelli

Posted on • Edited on

What’s new in Xamarin.Forms – XAML

The new features of XAML help productivity and thus reduce development time in mobile applications.

The Xamarin.Forms team has put the batteries in giving the developer a pleasant experience, and XAML is no exception.

Maddy Leger (Program Manager at Microsoft working on Xamarin.Forms tooling) in his video tutorial tells us about many new features that we can use in XAML, these are the most relevant.


Quick encapsulation of controls

This improvement groups controls using the “Surround With…” option or with the “Ctrl + K, Ctrl + S” shortcut.


XAML Regions

Without a doubt this characteristic fascinates me, in C # it is good practice to separate important parts, contract them or expand them is something that a simple comment does not do, with “XAML Regions” we can reorganize our code and add good practices in the process.

Go To Definition

This option allows you to go directly to an object, it is great to locate styles, binding, etc, that we are using.

GitHub Update: https://github.com/danielmonettelli/XF_FoodApp


Conclusions

As you can see, Microsoft continues to take great steps to meet the needs of the Developer of Xamarin.Forms, “productivity” is one of the goals that is taking it very seriously, I look forward to the next updates to come.

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay