Binding DynamicObject to a DataGrid with automatic column generation?

Posted by SeveQ on Stack Overflow See other posts from Stack Overflow or by SeveQ
Published on 2010-03-18T22:19:33Z Indexed on 2010/03/18 22:21 UTC
Read the original article Hit count: 455

I'm still experimenting with DynamicObjects. Now I need some information: I'm trying to bind an object inheriting from DynamicObject to a WPF DataGrid (not Silverlight).

How do I get the DataGrid to automatically create its columns from the available public properties of the object that are typically generated at runtime? Is that possible actually?

© Stack Overflow or respective owner

Related posts about c#4.0

Related posts about dynamicobject