Normally, to get a DataGrid column to extend across the remaining available width one would specify the columns width to be "*". However, how can this be done if the number of columns is not defined at design time? In this case, there is a DataGrid
whose content comes from a collection that may have 1, 2 or 3 columns. The number of columns in this collection are not known at design time. What must be done in order to ensure that the rightmost column of the DataGrid extend across the remaining available
DataGrid area?
Richard Lewis Haggard