(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

Mini-Tutorial – Element Binding

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Jul 22, 2009
(0 votes)

Jesse Liberty explains how with element binding it is now possible to bind the value of one object in your UI directly to a second object, without recourse to binding to a data object or handling events.

Until Silverlight 3, the easiest way to get this to work was to bind both the Slider and the TextBlcok to a data object. When the slider’s value changed, a property in the data object would be modified, and the TextBlock, also bound to that property would be updated (assuming you had implemented the INotifyPropertyChanged interface as discussed here. This can still be done, but now you can leave out the data object.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 7 and 4 and type the answer here: