[]
Gets a value that indicates whether this range contains another range.
public bool Contains(GridCellRange rng)
Type | Name | Description |
---|---|---|
GridCellRange | rng | GridCellRange that may be contained within this range. |
Type | Description |
---|---|
bool | True if this range contains the range specified by the |
Gets a value that indicates whether this range contains a given cell.
public bool Contains(int row, int col)
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. |
Type | Description |
---|---|
bool | True if this range contains the cell specified by the |