WPF Reflections

Aug 5 2008   2:42PM GMT

WPF Animations – Duration property

Mark Shurmer Profile: MarkWPF

This is a very important property in the world of WPF animations, as it specifies how long the animation will last.

The property is actually of type Duration.
What does that mean?
Well, in addition to being able to specify every thing that a TimeSpan can specify – like hours, minutes or seconds – you can also specify two special values:

Automatic – sets the animation to be 1 second
Forever – does what it says on the tin , runs the animation forever

 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: