I want to design a DataGrid as shown in the picture below:
DataGrid
This is how you would do it, if you set the Datagrid1.ItemsSource = a List of Class1, like so.
List myList = new List(); DataGrid1.ItemsSource = myList;
Hope this helps.