I want to get the multiple selection of data-grid in WPF, as my the business requirement I have a customer table in data grid which allows multiple selection and radio butto
//CustomerDTO is the DTO class which has all the column names of Customer Table.
//dgUsers is the data grid.
List customerList ;
for (int i = 0; i < dgUsers.SelectedItems.Count; i++)
{
customerList.Add((CustomerDTO)dgUsers.SelectedItems[i]);
}