Quantcast
Viewing all articles
Browse latest Browse all 18858

Control storyboard inside custom control...by code

How do I please control (start, stop, pause, go to specific time) a storyboard inside a custom control..by code?

I've tried:    

Dim myStoryboard As New Storyboard
myStoryboard = CType(Arrow.Resources("Storyboard1"), Storyboard) 'Arrow being the name of my control
myStoryboard.Begin()
Thanks for your help or tips!!

Viewing all articles
Browse latest Browse all 18858

Trending Articles