tags:

views:

99

answers:

1

What is the official DataGridView nomenclature description of the little black triangle in the first column?

It seems to mark the position of DataGridView.CurrentRow, but it's a get property only, and I'd like to set it.

Grid with arrow indicating caret

+2  A: 
  1. The "Row Indicator" located in the "Row Header" indicates which row is current.
  2. The "Row Header" is also called the "Row Selector".
  3. More importantly, to change the current row, you must set the CurrentCell property to a cell in the desired row. From the Remarks section of DataGridView.CurrentRow Property at http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.currentrow.aspx.
AMissico
Spot on, thanks.
Spike