Using animation and transitions

487
1
10-11-2011 10:18 AM
PaulHuppé
Occasional Contributor
Hi,

I am new to using animation/transitions, but would like to demo the potential of using them.  I have an Image control named "imgNavBar"  and a StackPanel control called "spNavBar".  What I would like to demo is the following:

When I click the image, it checks to see if the StackPanel is showing, if not, it opens it using an animation/transition effect.  If the StackPanel was showing, it would do the reverse to hide it.

Also, I would like to do this in code.

Thanks,
Paul
0 Kudos
1 Reply
PaulHuppé
Occasional Contributor
To be more precise, I would like the animation/transition to be mimic the stack panel coming out from under the image and expanding to its full size and the reverse when closing.

Paul
0 Kudos