— If you don’t know what a converter is, I recommend you reading this article first. Have you ever wondered how to pass multiple parameters to a converter, or how to create properties in a converter to change the value based on them? If you want to know how to achieve it then keep reading […]
Exploring Drag and Drop in Xamarin Forms
In Xamarin Forms 5 the ability for doing drag and drop was released. In this article, I’ll explore it and show you how to use it by creating a simple Schedule UI, which will have the ability to drag event cards and drop them over a Trash icon to delete them. How it works To […]
XAML Naming Conventions in Xamarin Forms
While developing applications, one of the things that help maintain the quality of your code is adhering to the naming conventions of the programming language you are using. As Xamarin Developers there are predefined rules that we usually follow in our C# code. But what happens with our XAML? Since there’s no pre-defined naming convention […]
Understanding Multi-Binding in Xamarin Forms
Multi-binding is a great feature that was introduced in Xamarin Forms 4.7 that allows the binding of multiple sources to a single target property. It gives us a lot of flexibility as now we don’t need to create multiple UI elements for each bindable property, which improves performance and makes our code cleaner. Why is […]
Online Talk – Mastering XAML in Xamarin Forms @ Monkey Conf Spain
On December 8, Rendy Del Rosario and I participated in the Monkey Conf Spain event. We gave a talk about Mastering XAML in Xamarin Forms covering topics such as Triggers, Converters, Multi-Bindings , Control templates, and a lot of technics of how to achieve complex logic that we use to do in code-behind on XAML. […]
Handle Multilingual in Xamarin Forms (Without any plugin)
A few years ago, I created a Multilingual plugin to handle multiple language support in Xamarin apps. The reason I did this, was because there was no .NET Standard at the time so for things like getting the device culture we had to create a platform implementation. Many changes has been made and now the […]
Understanding Visual State Manager in Xamarin Forms
Visual State Manager is a concept that was introduced in Xamarin Forms 3.0 which allows you to do visual changes according to a state. So basically according to a status change, you can change the properties of any UI control. By default, it has 3 pre-defined states: Normal, Disabled, Focused. A good use case then […]
Awesome Xamarin Forms properties that you probably didn’t know about
With all the updates is easy to lose track of all the magic that you can do now in Xamarin Forms. If you developed using Forms a few months ago probably there were a lot of things that you needed a custom renderer to achieve them but now things are finally changing. Here is a […]
XAML Markup extension in Xamarin Forms
A XAML markup extension is a class that implements the IMarkupExtension or IMarkupExtension<T>. Basically, it allows you to set element properties referenced indirectly from a different source. In Xamarin Forms there are many markup extensions pre-created (x:Static, x:Reference, x:Null, x:Type, etc). In this article, I will focus on two very popular markup extensions which are: […]
XAML – Tips and Tricks
When using Xamarin Forms sometimes there’s code that we do in the code behind because maybe we don’t know that can be done using XAML. Here is the list of 10 things that maybe you didn’t know you can do in XAML: 1-Passing Constructor Arguments Arguments can be passed to a non-default constructor by using […]