locked
Starting a Storyboard from Code RRS feed

  • General discussion

  •  Hi Guys,
     I have made a story board in blend 2 but I want to start it from my VB code. Can someone show me how to achieve this. Thanks
    Matt
    Wednesday, October 1, 2008 9:35 AM

All replies

  • Silverlight or WPF?

    http://msdn.microsoft.com/en-us/library/ms605709.aspx



    This posting is provided "AS IS" with no warranties, and confers no rights.
    Wednesday, October 1, 2008 7:04 PM
  • I want to do it in WPF. I had a look at that link but the difference is I did not declare my storyboard in VB i made it directly in Blend 2. So when I use 'Storyboard.Begin' Method my storyboards name is flagged by VB as not declared.  maybe Im doing something wrong. I would appreciate any help. Thanks
    • Edited by kasmatt2000 Thursday, October 2, 2008 12:58 PM
    Thursday, October 2, 2008 11:15 AM
  • I use C#, but I think this can help u~


    BeginStoryBoard((StoryBoard)this.Resources["storyboardName"]);

    that it....
    Sunday, October 5, 2008 6:30 PM
  • Thanks John I'll give it a shot
    Thursday, October 9, 2008 5:17 AM