WPF Reflections

Aug 31 2008   8:59PM GMT

WPF Animations – RepeatBehaviour property

Mark Shurmer Profile: MarkWPF

The RepeatBehaviour property allows you to specify how long the animation will repeat.

You can do this either as a TimeSpan or you can choose to specify Forever.

If you specify Forever, funnily enough it repeats the animation and carries on repeating it.

If however you specify a TimeSpan, you can choose a multiple of the duration or a fraction.

In the following example, the top ball repeats 1 and a half times and the bottom one 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: