Thanks Megakemp for what I was afraid to do. I did not want to manage two copies of the storyboard in XAML. If I need to add a control and manage it through the storyboard (1), I will have to remember to copy and paste the changes to this other storyboard (2). I suppose these are hoops that you should jump until the functionality that I am looking for appears.
Now I was thinking of another idea to try, but could not get the functionality. This is my idea below, I can explain it better in the code .. this code below will not compile, just to understand my point.
Dim board As Storyboard = New Storyboard board = DirectCast(TryFindResource("Animation1"), Storyboard) If board IsNot Nothing Then board.Begin(Me) While board.GetCurrentState(Me) = ClockState.Active 'Wait until Animation1 ends End While 'Start Animation2 board = DirectCast(TryFindResource("Animation2"), Storyboard) If board IsNot Nothing Then board.Begin(Me) End If End If
Thank you for your help .. and if anyone else has a different answer or more detailed information, please feel free to post, I do not completely abandon this idea.
source share