Reputation: 8214
I have a menu build from TextBlock
s in a StackPanel
.
I would like the TextBlock
s to animate when they are tapped. Pretty much like how the stock apps animate on click in menus.
The documents I've read seems to create an animation per each named item. That seems a little backwards.
Upvotes: 1
Views: 508
Reputation: 8214
I solved it using the TiltEffect.cs.
http://msdn.microsoft.com/en-us/library/ff941094
Upvotes: 2
Reputation: 70142
Creating an animation per item is not so crazy. You can simply iterate over the Children
of the StackPanel
adding the animation to each in code.
Upvotes: 0