(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

UpdateSourceTrigger PropertyChanged for Silverlight 4 Binding

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

Marlon Grech explains how you can specify that a certain binding should update the source on PropertyChanged in Silverlight 4.

Source: C# Disciples

In Silverlight 4 there is no way out of the box to specify that a certain binding should update the source on PropertyChanged, the options for the UpdateSourceTrigger are LostFocus and Explicit.

These options are more or less what you really need for most scenarios, yet sometimes you want to have the ability to update the binding while a property is changing. A use case would be, you have a textbox and you want to apply some validations while the user is typing, maybe you enable a button if the text entered is correct or disable it if it is not correct.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 6 and 6 and type the answer here: