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:

blogaugust31.GIF

 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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: