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 implementing your own Custom Animations

In this section, we will take a look at how to we can work with Custom Animations, and implement these in your Xamarin.Forms XAML and ContentPages using C#. Custom Animations make use of the Animation class, which essentially is the parent class for all Xamarin.Forms animations, as well as making use of the extension methods contained in the ViewExtensions class, to create one or a series of Animation objects.

Whenever you create an Animation object, you'll need to specify a number of parameter objects, as well as include the starting and ending values for the property that is being animated. You will also need to ensure you declare a Callback method that changes the value of the property. ...

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