[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridCellRange.Contains

Contains Method

Contains(GridCellRange)

Gets a value that indicates whether this range contains another range.

Declaration
public bool Contains(GridCellRange rng)
Parameters
Type Name Description
GridCellRange rng

GridCellRange that may be contained within this range.

Returns
Type Description
bool

True if this range contains the range specified by the rng parameter.

Contains(int, int)

Gets a value that indicates whether this range contains a given cell.

Declaration
public bool Contains(int row, int col)
Parameters
Type Name Description
int row

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

int col

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

Returns
Type Description
bool

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