WPF Reflections

Aug 16 2008   4:59PM GMT

WPF Animations – SpeedRatio property

Mark Shurmer Profile: MarkWPF

What does the SpeedRatio property do?
Well it provides you with the ability to speed up an animation or slow one down.

The deafault speed for an animation is 1.

To speed up an animation, change the SpeedRatio to a bigger number.
The numbers are relative, so using SpeedRatio=”4″ will make it run 4 times faster.

To slow it down, use a number between 1 and 0.
So, using 0.5 will slow make the animation half the speed.

In this example, I have slowed down the second rectangle by specifying a SpeedRatio of 0.5:


 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: