(X) Hide this Watch a recording of the recent webinar Building a Silverlight 4 application end-to-end by Gill Cleeren
View the webinar recording | Download the slides | Download the demos
Become a member to receive all webinar news by email, or follow all webinar news on Twitter | Facebook | LinkedIn
Skip Navigation LinksHome / News / View News

Making a generic UpdateSourceTrigger for PropertyChanged in Silverlight

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Dec 29, 2010
(0 votes)

In his previous post, Marlon Grech explained how Silverlight 4 lacks the UpdateSourceTrigger for PropertyChanged and how to overcome this issue for the TextBox. In this post he shows how to do this for any Dependency Property of any Framework element.

Source: C# Disciples

Please note that this post is quite an experimental one. Probably the use case you are looking for is for the textbox scenario, if that is the case I would suggest that you use the more explicit approach i.e the one I show in my previous post. The take away from this post should be more the idea of how things work rather than the actual code I am using here, this code was never tested in production thus it might contain memory leaks and other issues.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 3 and 8 and type the answer here: