The value returned is the sum of row heights from the top of the grid until and including this row, and does not account for the scroll position. To account for the scroll position, this value should be adjusted using the grid's ScrollPosition property.