[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Model.CellRange.Contains

Contains Method

Contains(int, int)

Determines whether the range of cells contains the cell at the specified row and column.

Declaration
public bool Contains(int row, int column)
Public Function Contains(row As Integer, column As Integer) As Boolean
Parameters
Type Name Description
int row

Row index of the cell

int column

Column index of the cell

Returns
Type Description
bool

true if the range of cells contains another specified cell; otherwise, false.

Contains(int, int, int, int)

Determines whether the range of cells contains another specified range of cells.

Declaration
public bool Contains(int row, int column, int rowCount, int columnCount)
Public Function Contains(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer) As Boolean
Parameters
Type Name Description
int row

Row index of the first cell in the range

int column

Column index of the first cell in the range

int rowCount

Number of rows in the range

int columnCount

Number of columns in the range

Returns
Type Description
bool

true if the range of cells contains another specified range of cells; otherwise, false.

Contains(CellRange)

Determines whether the range of cells contains another specified range of cells.

Declaration
public bool Contains(CellRange range)
Public Function Contains(range As CellRange) As Boolean
Parameters
Type Name Description
CellRange range

CellRange object that contains the other range of cells

Returns
Type Description
bool

true if the range of cells contains another specified range of cells; otherwise, false.