Class
ElasticDoubleAnimation

Provides elastic animation capabilities.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class ElasticDoubleAnimation : DoubleAnimationBase

Inheritance: objectElasticDoubleAnimation

Constructors

ElasticDoubleAnimation()

Declaration

cs-api-definition
public ElasticDoubleAnimation()

Fields

FromProperty

Identifies the From dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FromProperty

Field Value

DependencyProperty

LimitToEndValueProperty

Identifies the LimitToEndValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LimitToEndValueProperty

Field Value

DependencyProperty

OscillationsProperty

Identifies the Oscillations dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OscillationsProperty

Field Value

DependencyProperty

SpringinessProperty

Identifies the Springiness dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SpringinessProperty

Field Value

DependencyProperty

ToProperty

Identifies the To dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToProperty

Field Value

DependencyProperty

Properties

From

Gets or sets the start value of the animated property.

Declaration

cs-api-definition
public double? From { get; set; }

Property Value

double?

From.

LimitToEndValue

Gets or sets a value indicating whether oscillations exceed the end value.

Declaration

cs-api-definition
public bool LimitToEndValue { get; set; }

Property Value

bool

Oscillations

Gets or sets the oscillations count.

Declaration

cs-api-definition
public double Oscillations { get; set; }

Property Value

double

The oscillations.

Springiness

Gets or sets the springiness.

Declaration

cs-api-definition
public double Springiness { get; set; }

Property Value

double

The springiness.

To

Gets or sets the end value of the animated property.

Declaration

cs-api-definition
public double? To { get; set; }

Property Value

double?

To.

Methods

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Freezable derived class.

Declaration

cs-api-definition
protected override Freezable CreateInstanceCore()

Returns

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

cs-api-definition
protected override double GetCurrentValueCore(double defaultOriginValue, double defaultDestinationValue, AnimationClock animationClock)

Parameters

defaultOriginValue

double

The suggested origin value, used if the animation does not have its own explicitly set start value.

defaultDestinationValue

double

The suggested destination value, used if the animation does not have its own explicitly set end value.

animationClock

AnimationClock

An AnimationClock that generates the or used by the host animation.

Returns

double

The calculated value of the property, as determined by the current animation.