ComponentOne FlexGrid for WinForms
GetCellRect(Int32,Int32) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > GetCellRect Method : GetCellRect(Int32,Int32) Method
Row index.
Column index.
Gets a System.Drawing.Rectangle object with the coordinates of the cell within the control.
Syntax
'Declaration
 
Public Overloads Function GetCellRect( _
   ByVal row As Integer, _
   ByVal col As Integer _
) As Rectangle
public Rectangle GetCellRect( 
   int row,
   int col
)

Parameters

row
Row index.
col
Column index.
Remarks

This property is useful if you need to implement custom editors or other elements that need to be positioned over cells.

This method does not ensure the cell is visible.

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List