[]
Gets a rectangle that represents the position of a CellRange on the panel.
public Rect GetCellRect(CellRange rng)
Type | Name | Description |
---|---|---|
CellRange | rng | CellRange to locate. |
Type | Description |
---|---|
Rect | A rectangle that represents the position of the cell range. |
Gets a rectangle that represents the position of a cell on the panel.
public Rect GetCellRect(int row, int col)
Type | Name | Description |
---|---|---|
int | row | Index of the cell row. |
int | col | Index of the cell column. |
Type | Description |
---|---|
Rect | A rectangle that represents the position of the cell. |