Data Binding to Anonymous Types in Silverlight

Trying to bind Silverlight controls to anonymous typed objects will not work, this is because anonymous types are internal, and Silverlight doesn't support reflecting against internal types.


A solution to this is to expose your internals to the Binding framework as illustrated here:


Popular posts from this blog

Silverlight 4.0 with SharePoint 2010 (2 of 2)

Using taco to create Ionic projects for the Windows platform

Silverlight 5 P-Invoke: Using Kinect SDK from Silverlight