Skip to main content
Home Forums Silverlight Programming Programming with JavaScript Run-time animations
2 replies. Latest Post by anomaly100 on June 1, 2007.
(0)
anomaly100
Member
4 points
5 Posts
05-30-2007 9:31 AM |
Hi,
I have numerous buttons that are created from XAML at run-time. Ideally I'd like to apply an animation to each of these buttons, the same animation for all (i.e. just a general mouse enter/leave animation).
Is it possible to create a storyboard and NOT specify a target, so that the same storyboard can be applied to multiple objects?
As the buttons are created at run-time, as far as I know, no x:name can be created for them to use as a target, and having the same storyboard for each button doesn't seem practicle.
Any ideas? Any input is appreciated.
Cheers
WynApse
Star
8456 points
342 Posts
05-31-2007 2:03 PM |
Hi ...
I just posted a solution to this thread: http://silverlight.net/forums/t/1553.aspx
and I believe it addresses your question as well.
If not, let me know :)
-Dave
06-01-2007 4:25 AM |
That seems to be exactly what I'm looking for :-) I'll give it a go!
Cheers Dave