FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid.Classic Namespace / C1FlexGridClassic Class / GetCellRect Method / GetCellRect(Int32,Int32) Method
Row index.
Column index.

In This Topic
    GetCellRect(Int32,Int32) Method
    In This Topic
    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