CW
Navigation
🇧🇷 PT 🇺🇸 EN
Home About Stack Companies Blog
CONTACT
Back to Blog
27 Apr 2020 45 Views
Xamarin Forms: Compiled Bindings

Xamarin Forms: Compiled Bindings

"Speed up Xamarin Forms data binding & catch errors early with Compiled Bindings! Enable XAML compilation at assembly or class level."

Using Compiled Bindings improves the speed of Data Binding on Xamarin Forms and better it will detect Data Binding Errors on Compile Time.

The following code example demonstrates enabling XAML compilation at the assembly level:

using Xamarin.Forms.Xaml; … [assembly: XamlCompilation (XamlCompilationOptions.Compile)] namespace PhotoApp { … }

The following code example demonstrates enabling XAML compilation at the class level:

using Xamarin.Forms.Xaml; ... [XamlCompilation (XamlCompilationOptions.Compile)] public class HomePage : ContentPage { ... }
Cezar Wagenheimer
Written By

Cezar Wagenheimer

Full Stack Developer & Game Creator. Specialized in building immersive digital experiences and advanced systems.

Connect:
Share this article

Comments

Be the first to comment!

Leave a comment