[]
Gets a rectangle representing the coordinates of a cell, row, or column.
protected virtual Rectangle GetCellRectDisplay(int row, int col, bool clipHorz, bool clipVert)
Type | Name | Description |
---|---|---|
int | row | Row index (or -1 to get column bounds). |
int | col | Column index (or -1 to get row bounds). |
bool | clipHorz | Whether the rectangle should be horizontally clipped to the grid's client area. |
bool | clipVert | Whether the rectangle should be vertically clipped to the grid's client area. |
Type | Description |
---|---|
Rectangle | A Rectangle containing the display area for the row, column, or cell, in client coordinates and accounting for scroll position. |
This method is for internal use. It allows inherited classes to customize the way cell geometry is calculated.
Gets a rectangle representing the coordinates of a cell, row, or column.
protected Rectangle GetCellRectDisplay(int row, int col)
Type | Name | Description |
---|---|---|
int | row | Row index (or -1 to get column bounds). |
int | col | Column index (or -1 to get row bounds). |
Type | Description |
---|---|
Rectangle | A Rectangle containing the display area for the row, column, or cell, in client coordinates and accounting for scroll position. |
This method is for internal use. It allows inherited classes to customize the way cell geometry is calculated.