Επεξεργασία

Κοινή χρήση μέσω


Int32Animation Constructors

Definition

Initializes a new instance of the Int32Animation class.

Overloads

Int32Animation()

Initializes a new instance of the Int32Animation class.

Int32Animation(Int32, Duration)

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

Int32Animation(Int32, Int32, Duration)

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

Int32Animation(Int32, Duration, FillBehavior)

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

Int32Animation(Int32, Int32, Duration, FillBehavior)

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

Int32Animation()

Initializes a new instance of the Int32Animation class.

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

Applies to

Int32Animation(Int32, Duration)

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

Parameters

toValue
Int32

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

Int32Animation(Int32, Int32, Duration)

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

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

Parameters

fromValue
Int32

The starting value of the animation.

toValue
Int32

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

Int32Animation(Int32, Duration, FillBehavior)

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

Parameters

toValue
Int32

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

Int32Animation(Int32, Int32, Duration, FillBehavior)

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

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

Parameters

fromValue
Int32

The starting value of the animation.

toValue
Int32

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