locked
Silverlight animation + child elements RRS feed

  • Question

  •  Hey,

    Sorry if this isnt 100% on topic in this forum but seemed a decent enough match...

     

    Lets say you have a simple animation that moves something up and down, and you set the storyboard to target to a stackpanel. If the stack panel contained lets say 3 images and a textbox, it would move the stackpanel and everythign within it when the animation is run right?

    Monday, May 18, 2009 8:18 AM

Answers

  • If you move a container control with an animation, all the children of that container will be moved as well - so, to answer your question: yes, the children of the stackpanel should be moved when running the animation on the stackpanel.
    Monday, May 18, 2009 9:15 AM