This documentation is archived and is not being maintained.

DataGridViewRowCollection.GetFirstRow Method

Gets the first row in the collection that meets the specified criteria.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method GetFirstRow(DataGridViewElementStates) Returns the index of the first DataGridViewRow that meets the specified criteria.
Public method GetFirstRow(DataGridViewElementStates, DataGridViewElementStates) Returns the index of the first DataGridViewRow that meets the specified inclusion and exclusion criteria.
Top
Show: