I have multiple (dynamically created) controls in a grid (labels, buttons), and one storyboard! I can assign a storyboard to one control, but I want to apply the storyboard's animation in each controls...how can I do this?
My code:
Storyboard myStoryboard1 = new Storyboard();
Label label1 = new Label();
Label label2 = new Label();
Label label3 = new Label();
...
Storyboard.SetTarget(myAnimation2, Label1);
Storyboard.SetTarget(myAnimation2, Label2);
Storyboard.SetTarget(myAnimation2, Label3);
This code is set the animation only to the Label3...
Thanks!