Displaying data is probably the most straightforward task we can ask the
DataGrid to do for us. In this recipe, we'll create a collection of data and hand it over to the
DataGrid for display. While the
DataGrid may seem to have a rather fixed layout, there are many options available on this control that we can use to customize it.
In this recipe, we'll focus on getting the data to show up in the
DataGrid and customize it to our likings.
In this recipe, we'll start from an empty Silverlight application. The finished solution for this recipe can be found in the
Chapter05/Datagrid_Displaying_Data_Completed folder in the code bundle that is available on the Packt website.
We'll create ...