Animation.Commit(IAnimatable, String, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) Animation.Commit(IAnimatable, String, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) Method

Definition

Runs the owner animation with the supplied parameters.

public void Commit (Xamarin.Forms.IAnimatable owner, string name, uint rate = 16, uint length = 250, Xamarin.Forms.Easing easing = null, Action<double,bool> finished = null, Func<bool> repeat = null);
member this.Commit : Xamarin.Forms.IAnimatable * string * uint32 * uint32 * Xamarin.Forms.Easing * Action<double, bool> * Func<bool> -> unit

Parameters

owner
IAnimatable IAnimatable

The owning animation that will be animated.

name
String String

The name, or handle, that is used to access and track the animation and its state.

rate
UInt32 UInt32

The time, in milliseconds, between frames.

length
UInt32 UInt32

The number of milliseconds over which to interpolate the animation.

easing
Easing Easing

The easing function to use to transision in, out, or in and out of the animation.

finished
Action<Double,Boolean>

An action to call when the animation is finished.

repeat
Func<Boolean>

A function that returns true if the animation should continue.

Applies to