WinUI | ComponentOne
C1.WinUI.Grid Assembly / C1.WinUI.Grid Namespace / GridCellRange Class / Contains Method / Contains(Int32,Int32) Method
Index of the row that may be contained in this range.
Index of the column that may be contained in this range.
In This Topic
    Contains(Int32,Int32) Method
    In This Topic
    Gets a value that indicates whether this range contains a given cell.
    Syntax
    public bool Contains( 
       int row,
       int col
    )

    Parameters

    row
    Index of the row that may be contained in this range.
    col
    Index of the column that may be contained in this range.

    Return Value

    True if this range contains the cell specified by the row and col parameters.
    See Also