FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / CellRange Structure / Contains Method
Index of the row to check.
Index of the column to check.

In This Topic
    Contains Method (CellRange)
    In This Topic
    Determines whether the range contains a given cell.
    Syntax
    'Declaration
     
    
    Public Function Contains( _
       ByVal row As Integer, _
       ByVal col As Integer _
    ) As Boolean
    public bool Contains( 
       int row,
       int col
    )

    Parameters

    row
    Index of the row to check.
    col
    Index of the column to check.

    Return Value

    True if the range contains the cell, False otherwise.
    See Also