[]
Draws a grid cell.
protected virtual int DrawCell(PaintEventArgs e, int row, int col, DrawColorMode colorMode)
| Type | Name | Description |
|---|---|---|
| PaintEventArgs | e | A PaintEventArgs that contains a Graphics object where the cell will be drawn. |
| int | row | Index of the cell's row. |
| int | col | Index of the cell's column. |
| DrawColorMode | colorMode | Drawing color mode. |
| Type | Description |
|---|---|
| int | The index of the last column painted (may be greater than |
This method is for internal use. It allows inherited classes to customize the grid appearance.