[]
Draws a grid cell.
protected virtual void DrawCellImage(Graphics g, int row, int col, Rectangle rcBounds)
Protected Overridable Sub DrawCellImage(g As Graphics, row As Integer, col As Integer, rcBounds As Rectangle)
| 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. |
This method is for internal use. It allows inherited classes to customize the grid appearance.
Draws a grid cell.
protected virtual void DrawCellImage(Graphics g, int row, int col, Rectangle rcBounds, DrawColorMode colorMode)
Protected Overridable 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 | Drawing color mode. |
This method is for internal use. It allows inherited classes to customize the grid appearance.