GetCellBounds(Int32,Int32) Method
Gets the bounds of a cell within the grid.
'Declaration
Public Overloads Function GetCellBounds( _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Drawing.Rectangle
public System.Drawing.Rectangle GetCellBounds(
System.int ,
System.int
)
Parameters
- row
- Index of the row that contains the cell.
- col
- Index of the column that contains the cell.
Return Value
A System.Drawing.Rectangle that contains the bounds of the cell.