SizeAnimation Constructors

Definition

Initializes a new instance of the SizeAnimation class.

Overloads

SizeAnimation()

Initializes a new instance of the SizeAnimation class.

SizeAnimation(Size, Duration)

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

SizeAnimation(Size, Duration, FillBehavior)

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

SizeAnimation(Size, Size, Duration)

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

SizeAnimation(Size, Size, Duration, FillBehavior)

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

SizeAnimation()

Initializes a new instance of the SizeAnimation class.

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

Applies to

SizeAnimation(Size, Duration)

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

Parameters

toValue
Size

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

SizeAnimation(Size, Duration, FillBehavior)

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

Parameters

toValue
Size

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

SizeAnimation(Size, Size, Duration)

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

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

Parameters

fromValue
Size

The starting value of the animation.

toValue
Size

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

SizeAnimation(Size, Size, Duration, FillBehavior)

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

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

Parameters

fromValue
Size

The starting value of the animation.

toValue
Size

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