O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and using PlatformEffects in your app

In this section, we will see how we can work with the PlatformEffects API, which will allow us to customize the appearance and styling of our Xamarin.Forms native control elements for both the iOS and Android platforms. You will notice that these implementations have the same class names, but will be implemented completely differently, as you will see once we start.

We will look at how to create two completely different platform-effects, ButtonShadowEffect and LabelShadowEffect, for both iOS and Android platforms.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required