A time ago I did an article on how to create a Clearable Date Picker, recently someone asked me to do the same but with a Time Picker. So why not? In this article, I’m going to show you how to create a Time Picker that can be cleared and set to a null date. […]
Animating Page Transitions in Xamarin Forms
When developing mobile applications, having a good UI/UX is one of the most important things. One way we can help with our UX by having smooth transitions between pages. Xamarin Forms uses the default standard transition navigation: But what if you want to go further? And do some of those cool transition animations that the […]
Prism Regions in Xamarin Forms
If you don’t know what Prism is, I recommend that you read this article first. On Prism 8.0, the Prism Team released an amazing feature called Regions, which gives us a lot of flexibility in handling different views on a page. To understand it, let’s see the following use case: We have a TabbedView (Or […]
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 […]
Simplifying Bindable Properties with Type Converters in Xamarin Forms
A Type Converter allows you to convert values from a type to a different type, this is helpful when creating bindable properties in Xamarin Forms because it saves you a lot of time and validation code. In this article, I’m going to show you a few use cases where you can use it. NOTE: If […]
Stop doing IsVisible=“true/false” to Show/Hide Views in RunTime in Xamarin Forms
When developing UI a common use case is to hide/show a View according to a certain condition, when thinking on how to do this the first thing that comes to mind is to add an IsVisible property and just hide/show it according to a condition but doing that has performance implications since hiding an element […]
Scratch View in Xamarin Forms
Recently I was exploring a few random applications and found an interesting behavior that was about scratching an image and revealing the result while doing it. So I was curious about how to do that in Xamarin Forms and came across this sample, so I took it as a base and created my own ScratchViewControl […]
Show/Hide password using EventTrigger in Xamarin Forms
A common requirement in mobile applications is the ability to show/hide a password field. Googling I discovered that there are many ways to do it, some people create a custom control, others prefer to use a custom renderer, effects, etc. In this post, I want to show you a very simple way to achieve this […]
Simple Two Cards Transition Control in Xamarin Forms
I recently developed a simple control to transition between two cards using an overlay animation in Xamarin Forms. In this post, I want to share the result and also explain how I achieved each of my requirements. Let’s start When creating a custom control the first thing that comes to my mind is to separate […]