Rediger

Del via


ThicknessAnimation Constructors

Definition

Initializes a new instance of the ThicknessAnimation class.

Overloads

ThicknessAnimation()

Initializes a new instance of the ThicknessAnimation class.

ThicknessAnimation(Thickness, Duration)

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

ThicknessAnimation(Thickness, Duration, FillBehavior)

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

ThicknessAnimation(Thickness, Thickness, Duration)

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

ThicknessAnimation(Thickness, Thickness, Duration, FillBehavior)

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

ThicknessAnimation()

Initializes a new instance of the ThicknessAnimation class.

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

Applies to

ThicknessAnimation(Thickness, Duration)

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

Parameters

toValue
Thickness

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

ThicknessAnimation(Thickness, Duration, FillBehavior)

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

Parameters

toValue
Thickness

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

ThicknessAnimation(Thickness, Thickness, Duration)

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

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

Parameters

fromValue
Thickness

The starting value of the animation.

toValue
Thickness

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

ThicknessAnimation(Thickness, Thickness, Duration, FillBehavior)

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

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

Parameters

fromValue
Thickness

The starting value of the animation.

toValue
Thickness

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