DataGridViewCell::GetSize Method (Int32)
.NET Framework (current version)
Gets the size of the cell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- rowIndex
-
Type:
System::Int32
The index of the cell's parent row.
| Exception | Condition |
|---|---|
| InvalidOperationException | rowIndex is -1 |
This method cannot be used with a cell in a shared row.
.NET Framework
Available since 2.0
Available since 2.0
Show: