Search code examples
windows-phone-7animationexpression-blendstoryboard

How to autoplay storyboard animation on page load using Expression Blend


I've got a storyboard that should play when a page loads. Is there any way to do that directly from Expression Blend? I'd rather not do it through code or xaml.

What about doing the same for button clicks or other events?

Thanks


Solution

  • You can drag the ControlStoryboardAction behaviour (Assets->Behaviors) over to the Page, and set the EventName to be PageLoaded, and ControlStoryboardOption to Play, and Storyboard to your storyboard.