By default, the Height and Width properties of the DataGrid are set to Double. NaN ("Auto" in XAML), and ...
msdn.microsoft.com