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