DataGridViewRowCollection::GetRowState Method (Int32)
.NET Framework (current version)
Gets the state of the row with the specified index.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- rowIndex
-
Type:
System::Int32
The index of the row.
Return Value
Type: System.Windows.Forms::DataGridViewElementStatesA bitwise combination of DataGridViewElementStates values indicating the state of the specified row.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | rowIndex is less than zero and greater than the number of rows in the collection minus one. |
.NET Framework
Available since 2.0
Available since 2.0
Show: