Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetFirstRow Method

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.

  Name Description
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:
© 2015 Microsoft