Silverlight Forums

Your Silverlight Community

Building A StoryboardEventHelper Class To Create Additional Events For A Silverlight 4 Storyboard

Posted under News on Nov 30, 1999 (2 months ago)

I wrote an article on my Blog in which I describe a technique as a workaround on how to "add" additional events to a Silverlight 4 Storyboard. The Silverlight 4 Storyboard class only has one single event, which is the Completed event. There a numerous needs to add additional events to a storyboard but because the Storyboard class is sealed this isn't possible. So we need a workaround which is provided by the StoryboardEventHelper class. The StoryboardEventHeler class that is build step by step in the article implements two addititional events (OnStoryboardStarted and OnStoryboardPositionChanged) that provide for example the opportunity to easily change the VisualState of any Object at a certain timeline position of a running storyboard. In addition to the article you can view a small sample app and download the full sourcecode at the Expression Gallery.

Have fun!


Source: http://www.silverlightshow.net/news/Building-A-StoryboardEventHelper-Class-To-Create-Additional-Events-For-A-Silverlight-4-Storyboard.aspx

Back to News

Bookmark and Share

Latest Tutorials


Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:1: parser error : Space required after the Public Identifier in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:1: parser error : SystemLiteral " or ' expected in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:9: parser error : Opening and ending tag mismatch: hr line 7 and body in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: </body></html> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:9: parser error : Opening and ending tag mismatch: body line 4 and html in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: </body></html> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:10: parser error : Premature end of data in tag html line 2 in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: Invalid argument supplied for foreach() in /home/mullerco/public_html/news/article.php on line 207

Forum Posts

Video Player Silverlight

Read More →

Problem With MouseDragElementbehavior to move windows on mouse move Event.

Read More →

Remote Silverlight Opportunity

Read More →

Windowless Mode and greek text input

Read More →

Popup Issue In Silverlight 3.0

Read More →

Realtime charts with Microsoft Windows control charts

Read More →

Using themes - Missing microsoft.windows.controls.theming.dll in Silverlight 3 tookit

Read More →

Databinding an Item in a collection to a controls in Silverlight xaml

Read More →

(Silverlight 4) Exceptions from a WCF service thrown by UserNamePasswordValidator

Read More →

About Silverlight Forums

Silverlight Forums is an established Silverlight community for people interested in design and development using Microsoft Silverlight technology.

Flickr

Silverlight Hat fs_timhuer