I am using the WPF ToolKit DataGrid and trying to access the DataGrid's scrollable height. I have 26 rows in the DataGrid with a rowheight of 35. I traverse down the VisualTree starting at the DataGrid to find its ScrollViewer. However, the ScrollViewer's ScrollableHeight is 16.0.
Why is this number so low? I am expecting somewhere around 910(26 * 35px). Is there a better way to determine the size of a DataGrid's row contents?