I would like display text and an image in a Silverlight 3 datagrid (i.e. First name, last name, picture). There were many examples on the web utilizing DataTemplate and RowDetailsTemplate in XAML. However, I need to do this all through C# code. Any examples would be highly appreciated.
Thanks,
Sam
Sam,
Steps I’d take:
Assign the DataTemplateColumn .CellTemplate property to the results of a method that looks something like this:
Bind your grid to your datasource.
That should do it.