Xamarin.Forms Guides | Samples

Xamarin.Forms.Animation Class

Encapsulates an animation, a collection of functions that modify properties over a user-perceptible time period.

See Also: Animation

Syntax

public class Animation : IEnumerable

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.Animation are listed below.

See Also: Object

Public Constructors

Creates a new Animation object with default values.
Creates a new Animation object with the specified parameters.

Public Methods

Add(Double, Double, Animation)
Adds an Animation object to this Animation that begins at beginAt and finishes at finishAt.
Commit(IAnimatable, String, UInt32, UInt32, Easing, Action<double, bool>, Func<bool>)
Runs the owner animation with the supplied parameters.
GetCallback() : Action<double>
Returns a callback that recursively runs the eased animation step on this Animation object and those of its children that have begun and not finished.
GetEnumerator() : IEnumerator
Returns an enumerator that can be used to iterate over the child Animation objects of this Animation object.
Insert(Double, Double, Animation) : Animation
Adds an Animation object to this Animation that begins at beginAt and finishes at finishAt.
WithConcurrent(Animation, Double, Double) : Animation
Adds animation to the children of this Animation object and sets the start and end times of animation to beginAt and finishAt, respectively.
WithConcurrent(Action<double>, Double, Double, Easing, Double, Double) : Animation
Creates a new Animation object with the specified parameters, and adds it to the children of this Animation object.