(X) Hide this Upcoming webinar on Feb 23rd, 10 am PST (see your local time): Building Line-of-business Applications with Silverlight & WCF Data Services
More webinar info | Register | Other webinars
Tweet @silverlightshow and win a SilverlightShow Tweet-shirt. Learn how >>
Skip Navigation LinksHome / News / View News

MinimumTimeVisualStateManager

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Feb 21, 2011
(0 votes)
Tags: VisualStateManager , Kent Boogaart

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) resources on TwitterKent Boogaart has published the code for his MinimumTimeVisualStateManager class.

Source: Kent Boogaart's Blog

The Visual State Manager infrastructure is extensible in that it allows custom a VisualStateManager instance to be associated with a given element. Such a custom manager might do something as simple as logging visual state changes, or something more complex. In my case, I wanted to enforce a minimum time for any state that desires one, which implies an attached property to set that minimum time and some logic to delay state changes when necessary.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 4 and 2 and type the answer here: