I am dynamically creating data grids in a tab window in WPF. I am having an issue with the data grid sizes, that are within the tabControl.
This is not an issue of the size of data within the data grid but the size of data grid itself.
I am looking to set the height and width to auto. This is simple in XAML but I am struggling to find any information to do it in the code which I need to do..
I have tired double.NaN but this does not seem to work....
Any help would be amazing!
I am using c#.