Provides elastic animation capabilities.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class ElasticDoubleAnimation : DoubleAnimationBase
Inheritance: objectElasticDoubleAnimation
Constructors
public ElasticDoubleAnimation()
Fields
FromProperty
DependencyProperty
Identifies the From dependency property.
public static readonly DependencyProperty FromProperty
LimitToEndValueProperty
DependencyProperty
Identifies the LimitToEndValue dependency property.
public static readonly DependencyProperty LimitToEndValueProperty
OscillationsProperty
DependencyProperty
Identifies the Oscillations dependency property.
public static readonly DependencyProperty OscillationsProperty
SpringinessProperty
DependencyProperty
Identifies the Springiness dependency property.
public static readonly DependencyProperty SpringinessProperty
ToProperty
DependencyProperty
Identifies the To dependency property.
public static readonly DependencyProperty ToProperty
Properties
Gets or sets the start value of the animated property.
public double? From { get; set; }
From.
Gets or sets a value indicating whether oscillations exceed the end value.
public bool LimitToEndValue { get; set; }
Gets or sets the oscillations count.
public double Oscillations { get; set; }
The oscillations.
Gets or sets the springiness.
public double Springiness { get; set; }
The springiness.
Methods
CreateInstanceCore()
Freezable
When implemented in a derived class, creates a new instance of the Freezable derived class.
protected override Freezable CreateInstanceCore()
Freezable
The new instance.
Calculates a value that represents the current value of the property being animated, as determined by the host animation.
protected override double GetCurrentValueCore(double defaultOriginValue, double defaultDestinationValue, AnimationClock animationClock)
The suggested origin value, used if the animation does not have its own explicitly set start value.
defaultDestinationValuedoubleThe suggested destination value, used if the animation does not have its own explicitly set end value.
animationClockAnimationClockAn AnimationClock that generates the or used by the host animation.
Returns:The calculated value of the property, as determined by the current animation.