In this section, we will take a look at how to work with Simple Animations in your Xamarin.Forms XAML and ContentPages using C#. The Xamarin.Forms platform includes its own animation classes that are straightforward to use to create simple animations, as well as being versatile enough to provide you with the ability of creating more complex animations.
Simple Animations make use of the ViewExtensions class, which provides you with extension methods that can be used to construct simple animations. The ViewExtensions class provides you with a LayoutTo extension method, which is only intended for use with layouts to animate transitions between layout states that contain size and property changes, and should only be used by classes that use the Layout subclass.
Before we start working with Simple Animations in our XAML and ContentPages...