[]
Draws a grid cell.
protected override int DrawCell(PaintEventArgs e, int row, int col, DrawColorMode colorMode)
Protected Overrides Function DrawCell(e As PaintEventArgs, row As Integer, col As Integer, colorMode As DrawColorMode) As Integer
| 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.