Problem Autoscrolling to last row of Datagridview

Williamdor

New member
Joined
Sep 5, 2014
Messages
2
Programming Experience
10+
As my datagridview fills and the autoscrolling control appears I want to have the last row of the datagridview to be displayed by default. Currently I have to manually scroll to the last row, but want this handled automatically.
 
Set the FirstDisplayedScrollingRowIndex property to the index of the row that you want to ensure is scrolled into view. If you want to scroll to the bottom then use the index of the last row, i.e. (RowCount - 1)
 
Back
Top