locked
Animating Images in sequance RRS feed

  • Question

  • Hi,

    I want to animate the images in the sequance.

    Like there is 3-4 images and on the click event  i want that images should get changed and show some kind of animation effect.

    Can anybody tel me hw this can be done.and animation start from the centre of the device.

    Plz help me.

    Thanks a lot.  

    Wednesday, June 16, 2010 9:03 AM

All replies

  •  You can do this with a visual state or other storyboard. Right click and modify the button template if you want to use visual states, or just create a new storyboard in xaml or code behind and attach it to the button click event (begin the storyboard inside the click event). You can have all the images on top of each other and modify the opacity to transition between them to achieve the desired result.

    Here is some good info on storyboards:

    http://www.silverlight.net/learn/quickstarts/animations/

    Wednesday, June 16, 2010 1:34 PM