WPF Reflections

Jun 21 2008   2:04PM GMT

WPF Animations – where to place them

Mark Shurmer Profile: MarkWPF

In previous blogs , I talked about the classes in animation and what the different types are; not to mention how great WPF is that doing animations is so easy

Now, where do you place animations in xaml?

Firstly, they have to be defined within a storyboard.
A storyboard (I’ve always felt a slightly odd name for the class) can contain a number of animations, and it is the storyboard that controls the playing of the animations.

Here is n animation within a storyboard that makes the textbox widen when you put the mouse over the textbox:

Example animation

 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: