[]
Initializes a new instance of a CellRange.
public CellRange(int row1, int col1, int row2, int col2)
| Type | Name | Description |
|---|---|---|
| int | row1 | Index of the first row in the range. |
| int | col1 | Index of the last row in the range. |
| int | row2 | Index of the first column in the range. |
| int | col2 | Index of the last column in the range. |
Initializes a new instance of a CellRange containing a single cell.
public CellRange(int row, int col)
| Type | Name | Description |
|---|---|---|
| int | row | Index of the cell row. |
| int | col | Index of the cell column. |
public CellRange(UIElement e)
| Type | Name | Description |
|---|---|---|
| UIElement | e | UIElement that represents a cell. |