To show a dialog in Prism we have the pre-registered service IPageDialogService, but what happens when you want to show a custom dialog? In version 7.2 they introduced the IDialogService which is a pre-registered service that allows you to show custom dialogs. Let’s use it step by step 1.Create a view with your custom design […]
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 […]
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: […]
Transparent Navigation Bar in Xamarin Forms
In this article, I’m going to show you how to make the navigation bar transparent in Xamarin Forms. Let’s do it Step by Step 1-Create a class that extends from NavigationPage 2-We use an iOS platform specific to specify bar is translucent. Make sure to set the color BackgroundColor to Transparent and set the property NavigationPage.IsNavigationBarTranslucent=“True” on […]
Universal Styling in Xamarin Form Apps
When using Xamarin Forms sometimes we have the need to make our applications look better by applying some styles.But what if our application uses a similar style for all our controls in the entire application and we just want to apply it to all these controls without too much effort. The solution of that is using […]