DoubleAnimation DoubleAnimation DoubleAnimation DoubleAnimation Constructors

Definition

Overloads

DoubleAnimation() DoubleAnimation() DoubleAnimation()

Initializes a new instance of the DoubleAnimation class.

DoubleAnimation(Double, Duration) DoubleAnimation(Double, Duration) DoubleAnimation(Double, Duration)

Initializes a new instance of the DoubleAnimation class that animates to the specified value over the specified duration. The starting value for the animation is the base value of the property being animated or the output from another animation.

DoubleAnimation(Double, Double, Duration) DoubleAnimation(Double, Double, Duration) DoubleAnimation(Double, Double, Duration)

Initializes a new instance of the DoubleAnimation class that animates from the specified starting value to the specified destination value over the specified duration.

DoubleAnimation(Double, Duration, FillBehavior) DoubleAnimation(Double, Duration, FillBehavior) DoubleAnimation(Double, Duration, FillBehavior)

Initializes a new instance of the DoubleAnimation class that animates to the specified value over the specified duration and has the specified fill behavior. The starting value for the animation is the base value of the property being animated or the output from another animation.

DoubleAnimation(Double, Double, Duration, FillBehavior) DoubleAnimation(Double, Double, Duration, FillBehavior) DoubleAnimation(Double, Double, Duration, FillBehavior)

Initializes a new instance of the DoubleAnimation class that animates from the specified starting value to the specified destination value over the specified duration and has the specified fill behavior.

DoubleAnimation() DoubleAnimation() DoubleAnimation()

Initializes a new instance of the DoubleAnimation class.

public:
 DoubleAnimation();
public DoubleAnimation ();
Public Sub New ()

DoubleAnimation(Double, Duration) DoubleAnimation(Double, Duration) DoubleAnimation(Double, Duration)

Initializes a new instance of the DoubleAnimation class that animates to the specified value over the specified duration. The starting value for the animation is the base value of the property being animated or the output from another animation.

public:
 DoubleAnimation(double toValue, System::Windows::Duration duration);
public DoubleAnimation (double toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.DoubleAnimation : double * System.Windows.Duration -> System.Windows.Media.Animation.DoubleAnimation

Parameters

toValue
Double Double Double Double

The destination value of the animation.

duration
Duration Duration Duration Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

DoubleAnimation(Double, Double, Duration) DoubleAnimation(Double, Double, Duration) DoubleAnimation(Double, Double, Duration)

Initializes a new instance of the DoubleAnimation class that animates from the specified starting value to the specified destination value over the specified duration.

public:
 DoubleAnimation(double fromValue, double toValue, System::Windows::Duration duration);
public DoubleAnimation (double fromValue, double toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.DoubleAnimation : double * double * System.Windows.Duration -> System.Windows.Media.Animation.DoubleAnimation

Parameters

fromValue
Double Double Double Double

The starting value of the animation.

toValue
Double Double Double Double

The destination value of the animation.

duration
Duration Duration Duration Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

DoubleAnimation(Double, Duration, FillBehavior) DoubleAnimation(Double, Duration, FillBehavior) DoubleAnimation(Double, Duration, FillBehavior)

Initializes a new instance of the DoubleAnimation class that animates to the specified value over the specified duration and has the specified fill behavior. The starting value for the animation is the base value of the property being animated or the output from another animation.

public:
 DoubleAnimation(double toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public DoubleAnimation (double toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.DoubleAnimation : double * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.DoubleAnimation

Parameters

toValue
Double Double Double Double

The destination value of the animation.

duration
Duration Duration Duration Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

fillBehavior
FillBehavior FillBehavior FillBehavior FillBehavior

Specifies how the animation behaves when it is not active.

DoubleAnimation(Double, Double, Duration, FillBehavior) DoubleAnimation(Double, Double, Duration, FillBehavior) DoubleAnimation(Double, Double, Duration, FillBehavior)

Initializes a new instance of the DoubleAnimation class that animates from the specified starting value to the specified destination value over the specified duration and has the specified fill behavior.

public:
 DoubleAnimation(double fromValue, double toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public DoubleAnimation (double fromValue, double toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.DoubleAnimation : double * double * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.DoubleAnimation

Parameters

fromValue
Double Double Double Double

The starting value of the animation.

toValue
Double Double Double Double

The destination value of the animation.

duration
Duration Duration Duration Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

fillBehavior
FillBehavior FillBehavior FillBehavior FillBehavior

Specifies how the animation behaves when it is not active.

Applies to