View Translate To(VisualElement, Double, Double, UInt32, Easing) Extensions.
Translate To(VisualElement, Double, Double, UInt32, Easing)
Animates an elements TranslationX and TranslationY properties from their current values to the new values. This ensures that the input layout is in the same position as the visual layout.
public static System.Threading.Tasks.Task<bool> TranslateTo (this Xamarin.Forms.VisualElement view, double x, double y, uint length = 250, Xamarin.Forms.Easing easing = null);
static member TranslateTo : Xamarin.Forms.VisualElement * double * double * uint32 * Xamarin.Forms.Easing -> System.Threading.Tasks.Task<bool>
To animate a view that receives user touch input from outside of the screen, the developer must first lay out the view in its final position, then translate the view off screen, and then finally animate the view back to its final position on the screen.
Translate to is useful for animations because it is applied post-layout. Translation animations will not conflict with managed layouts and thus are ideal for doing slide in/out style animations.