Validate input in Xamarin.Forms using INotifyDataErrorInfo, custom Behaviors, Effects and Prism

This post is also available in the Premier Developer blog. I have recently been investigating the support available in Xamarin.Forms for validation and, in particular, researched the possibility of using INotifyDataErrorInfo to complement the traditional approach of using Behaviors. In simple scenarios, it’s possible to perform validation by simply attaching a Behavior to the required […]

I’m a Xamarin Certified Mobile Developer!

In the previous weeks, I subscribed to Xamarin University and attended the 15 mandatory interactive on-line classes for achieving the Xamarin Certified Mobile Developer certification. Today, I took the final exam consisting of 150 questions to be completed in 3 hours and covering topics related to Xamarin.Android, Xamarin.iOS, Cross-Mobile development and Xamarin.Forms. I’m very proud […]

Xamarin.Forms: sharing resources in XAML using Styles

Previously, I’ve blogged about creating a custom Behavior in Xamarin.Forms. The sample published on GitHub initially used the default template available in Visual Studio which instantiates the Application singleton from C# using the following App class:

This is a great approach, however very often it is useful to define common resources in XAML and reuse them across the […]

Xamarin.Forms: using the PanGestureRecognizer

Recently I’ve blogged about Xamarin.Forms and how to create a XAML Behavior for enabling Multi-Touch gestures to generic elements and implementing a scale / pinch functionality. Fortunately the framework provides three types of recognizer that greatly simplify the implementation: PinchGestureRecognizer allows user interactions for zoom / scale functionalities; PanGestureRecognizer enables pan / translate transformations; TapGestureRecognizer detects tap […]

Having fun with Xamarin.Forms and Multi-Touch Behaviors

Recently Xamarin has released preview support for the Universal Windows Platform in their Xamarin.Forms framework so I have been playing around with version 2.0 for testing its features and verify how easy is to target multiple platforms (iOS, Android, Windows 10 UWP, Windows Phone, Windows 8.1) with a single codebase. One of the experiments I have done […]