[]
Gets a value that indicates whether this range contains another range.
public bool Contains(GridCellRange rng)
Public Function Contains(rng As GridCellRange) As Boolean
| 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)
Public Function Contains(row As Integer, col As Integer) As Boolean
| 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 |