This documentation is archived and is not being maintained.

DataGridViewRowCollection.GetPreviousRow Method

Gets the previous 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 GetPreviousRow(Int32, DataGridViewElementStates) Returns the index of the previous DataGridViewRow that meets the specified criteria.
Public method GetPreviousRow(Int32, DataGridViewElementStates, DataGridViewElementStates) Returns the index of the previous DataGridViewRow that meets the specified inclusion and exclusion criteria.
Top
Show: