This function returns the count of rows that are fully visible vertically on the screen.
DataGrid Control