Bearbeiten

Freigeben über


ByteAnimation Constructors

Definition

Initializes a new instance of the ByteAnimation class.

Overloads

ByteAnimation()

Initializes a new instance of the ByteAnimation class.

ByteAnimation(Byte, Duration)

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

ByteAnimation(Byte, Byte, Duration)

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

ByteAnimation(Byte, Duration, FillBehavior)

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

ByteAnimation(Byte, Byte, Duration, FillBehavior)

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

ByteAnimation()

Initializes a new instance of the ByteAnimation class.

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

See also

Applies to

ByteAnimation(Byte, Duration)

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

Parameters

toValue
Byte

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.

See also

Applies to

ByteAnimation(Byte, Byte, Duration)

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

public:
 ByteAnimation(System::Byte fromValue, System::Byte toValue, System::Windows::Duration duration);
public ByteAnimation (byte fromValue, byte toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.ByteAnimation : byte * byte * System.Windows.Duration -> System.Windows.Media.Animation.ByteAnimation
Public Sub New (fromValue As Byte, toValue As Byte, duration As Duration)

Parameters

fromValue
Byte

The starting value of the animation.

toValue
Byte

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.

See also

Applies to

ByteAnimation(Byte, Duration, FillBehavior)

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

Parameters

toValue
Byte

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.

See also

Applies to

ByteAnimation(Byte, Byte, Duration, FillBehavior)

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

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

Parameters

fromValue
Byte

The starting value of the animation.

toValue
Byte

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.

See also

Applies to