ComponentOne Sizer for WinForms
C1.Win.Sizer.6 Assembly / C1.Win.Sizer Namespace / C1Sizer Class / GetControlAtCell Method
Index of the row that contains the cell.
Index of the column that contains the cell.

In This Topic
    GetControlAtCell Method (C1Sizer)
    In This Topic
    Gets the first control at a given grid cell.
    Syntax
    'Declaration
     
    Public Function GetControlAtCell( _
       ByVal row As System.Integer, _
       ByVal col As System.Integer _
    ) As System.Windows.Forms.Control
    public System.Windows.Forms.Control GetControlAtCell( 
       System.int row,
       System.int col
    )

    Parameters

    row
    Index of the row that contains the cell.
    col
    Index of the column that contains the cell.

    Return Value

    The first control at the cell, or null if the cell is empty.
    See Also