[]
Draws a grid cell.
protected override void DrawCellImage(Graphics g, int row, int col, Rectangle rcBounds, DrawColorMode colorMode)
Protected Overrides Sub DrawCellImage(g As Graphics, row As Integer, col As Integer, rcBounds As Rectangle, colorMode As DrawColorMode)
| Type | Name | Description |
|---|---|---|
| Graphics | g | Graphics object where the cell will be drawn. |
| int | row | Index of the cell's row. |
| int | col | Index of the cell's column. |
| Rectangle | rcBounds | Rectangle that defines the cell position. |
| DrawColorMode | colorMode |
This method is for internal use. It allows inherited classes to customize the grid appearance.