My main window contains a DataGrid, and I am implementing my own
myWindow.SizeToContent = WidthAndHeight;feature BEFORE the data is fed into my underlying data structure. The value of the vertical dimension, however, sometimes is too high. I would like it to be bound by the screen's dimension.