Editare

Partajați prin


DecimalAnimation Constructors

Definition

Initializes a new instance of the DecimalAnimation class.

Overloads

DecimalAnimation()

Initializes a new instance of the DecimalAnimation class.

DecimalAnimation(Decimal, Duration)

Initializes a new instance of the DecimalAnimation 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.

DecimalAnimation(Decimal, Decimal, Duration)

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

DecimalAnimation(Decimal, Duration, FillBehavior)

Initializes a new instance of the DecimalAnimation 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.

DecimalAnimation(Decimal, Decimal, Duration, FillBehavior)

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

DecimalAnimation()

Initializes a new instance of the DecimalAnimation class.

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

Applies to

DecimalAnimation(Decimal, Duration)

Initializes a new instance of the DecimalAnimation 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:
 DecimalAnimation(System::Decimal toValue, System::Windows::Duration duration);
public DecimalAnimation (decimal toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.DecimalAnimation : decimal * System.Windows.Duration -> System.Windows.Media.Animation.DecimalAnimation
Public Sub New (toValue As Decimal, duration As Duration)

Parameters

toValue
Decimal

The destination value of the animation.

duration
Duration

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

Applies to

DecimalAnimation(Decimal, Decimal, Duration)

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

public:
 DecimalAnimation(System::Decimal fromValue, System::Decimal toValue, System::Windows::Duration duration);
public DecimalAnimation (decimal fromValue, decimal toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.DecimalAnimation : decimal * decimal * System.Windows.Duration -> System.Windows.Media.Animation.DecimalAnimation
Public Sub New (fromValue As Decimal, toValue As Decimal, duration As Duration)

Parameters

fromValue
Decimal

The starting value of the animation.

toValue
Decimal

The destination value of the animation.

duration
Duration

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

Applies to

DecimalAnimation(Decimal, Duration, FillBehavior)

Initializes a new instance of the DecimalAnimation 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:
 DecimalAnimation(System::Decimal toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public DecimalAnimation (decimal toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.DecimalAnimation : decimal * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.DecimalAnimation
Public Sub New (toValue As Decimal, duration As Duration, fillBehavior As FillBehavior)

Parameters

toValue
Decimal

The destination value of the animation.

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

Specifies how the animation behaves when it is not active.

Applies to

DecimalAnimation(Decimal, Decimal, Duration, FillBehavior)

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

public:
 DecimalAnimation(System::Decimal fromValue, System::Decimal toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public DecimalAnimation (decimal fromValue, decimal toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.DecimalAnimation : decimal * decimal * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.DecimalAnimation
Public Sub New (fromValue As Decimal, toValue As Decimal, duration As Duration, fillBehavior As FillBehavior)

Parameters

fromValue
Decimal

The starting value of the animation.

toValue
Decimal

The destination value of the animation.

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

Specifies how the animation behaves when it is not active.

Applies to