(X) Hide this SilverlightShow next training events: Getting started with the Silverlight 5 Beta - a free 1 hour webinar on May 11th, by Michael Crump. Join at 10 am PST.
XNA for Windows Phone 7 - a 3 day training by MCC Peter Kuhn. June 1-3, 9 am - 1.30 pm PST. Sign up early-bird for $199.

More from Silverlight Show

  • Daily News Digest 05/04/2011
  • WP7 app designed for the ladies: Woman Calendar
  • WP7: Metro In Motion Part #4 – Tilt Effect
  • Silverlight 1 to Silverlight 5 Beta, Release History Available from Microsoft
  • Blending the WebBrowser Control with your App
Skip Navigation LinksHome / News / View News

Binding to Dynamic Properties with ICustomTypeProvider (Silverlight 5 Beta)

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Apr 27, 2011
(0 votes)
SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on Twitter

Alexandra Rusina discusses the new ICustomTypeProvider interface introduced with Silverlight 5 that enables data binding to objects the structure of which cannot be known until runtime.

Source: Silverlight SDK

When you implement the ICustomTypeProvider interface you need to return your own Type. Silverlight’s data binding engine now checks whether an object implements this interface or not. If the object does implement ICustomTypeProvider, the data binding engine uses your custom type instead of the System.Type.
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 2 and 7 and type the answer here: