Does any one know how I can have this happen in a windows phone 7 application (silverlight).
-
Start application
-
Draw a rectangle
-
Move rectangle using storyboard
-
Then show message when animation is done
I’ve looked all over and cant find much but if any of you can help ill be really thanksful im going to be puttng this out for free but ill credit you in the app
I am looking for c# code.
One way is to create a rectangle and give it a Storyboard animation. Set this rectangle’s visibility property to hidden (if you want it to appear at a specific time), then set it to visible whenever you want to show it. (You can use the Visibility property).
Storyboards have a Completed event to which you can attach a handler.
Then you can play the storyboard animation using
In your
Completedevent’s handler, show your message.