Welcome to WindowsClient.net | Sign in | Join

SilverLaw

Silverlight Design and Development

Sponsors





  • advertise here

News

Flexible Surface Effect For Silverlight and WPF

StoryboardEventHelper - Changing A VisualState At Certain Timeline Positions Of A Running Storyboard

I created a small helper class (StoryboardEventHelper) that provides two additional events for a regular Silverlight 4 Storyboard. Two events are implemented:

1. OnStoryboardStarted event fires application wide when a specific storyboard has been started.

2. OnStoryboardPositionChanged fires application wide each 10 ms over the timeline of a running storyboard.

This class provides the opportunity to change a VisualState of an object at a certain timeline position of a specific storyboard.

You can view an example and download the sourcecode at the Expression Gallery. Additionally I have published an article about how to build this solution in detail.

Have fun and give me some stars if you find it helpful.

 

Comments

Twitter Trackbacks for StoryboardEventHelper - Changing A VisualState At Certain Timeline Positions Of A Running Storyboard - SilverLaw [windowsclient.net] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 StoryboardEventHelper - Changing A VisualState At Certain Timeline Positions Of A Running Storyboard - SilverLaw         [windowsclient.net]        on Topsy.com

# July 31, 2010 9:49 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Page view counter