This documentation is archived and is not being maintained.

DataGridViewRowCollection.GetPreviousRow Method

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

Name Description
DataGridViewRowCollection.GetPreviousRow (Int32, DataGridViewElementStates) Returns the index of the previous DataGridViewRow that meets the specified criteria.
DataGridViewRowCollection.GetPreviousRow (Int32, DataGridViewElementStates, DataGridViewElementStates) Returns the index of the previous DataGridViewRow that meets the specified inclusion and exclusion criteria.
Show: