Animation Animation Class

Definition

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

public class Animation : System.Collections.IEnumerable
type Animation = class
    interface IEnumerable
Inheritance
AnimationAnimation
Implements

Constructors

Animation() Animation()

Creates a new Animation object with default values.

Animation(Action<Double>, Double, Double, Easing, Action) Animation(Action<Double>, Double, Double, Easing, Action)

Creates a new Animation object with the specified parameters.

Methods

Add(Double, Double, Animation) 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,Boolean>, Func<Boolean>) Commit(IAnimatable, String, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

Runs the owner animation with the supplied parameters.

GetCallback() GetCallback()

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() GetEnumerator()

Returns an enumerator that can be used to iterate over the child Animation objects of this Animation object.

Insert(Double, Double, Animation) Insert(Double, Double, Animation)

Adds an Animation object to this Animation that begins at beginAt and finishes at finishAt.

WithConcurrent(Animation, Double, Double) WithConcurrent(Animation, Double, Double)

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) WithConcurrent(Action<Double>, Double, Double, Easing, Double, Double)

Creates a new Animation object with the specified callback, and adds it to the children of this Animation object.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to