Hello,
I recently discover the support of ExpandoObject in the DataGrid, so I can optimize my application with that feature to show generic list of data in a DataGrid like an Excel table.
I can generate the GridColumns and the ItemSource entirely in c#, with a minimal XAML part, just binding to a collection of Columns and ExpandoObjects.
However, in the GridTextColumn creation, I have a problem concerning the DisplayBinding, because if I need to add a converter (for the sort of my data), I don't know how to declare it in c#. My problem is about the 'Source' attribute of the Binding object in the context of GridTextColumn.
Any idea ?
Regards
Thierry Maurel