Gets the Rectangle of the cell specified by row and column number.
[Visual Basic] Overloads Public Function GetCellBounds( _ ByVal row As Integer, _ ByVal col As Integer _ ) As Rectangle [C#] public Rectangle GetCellBounds( int row, int col ); [C++] public: Rectangle GetCellBounds( int row, int col ); [JScript] public function GetCellBounds( row : int, col : int ) : Rectangle;
A Rectangle that defines the current cell's corners.
Teh following example uses the GetCellBounds method to return a Retangle of a specified cell.
[Visual Basic]
Private Sub GetRect() Dim rect As Rectangle rect = DataGrid1.GetCellBounds(0,0) End Sub
DataGrid Class | DataGrid Members | System.WinForms Namespace | DataGrid.GetCellBounds Overload List | GetCurrentCellBounds