[]
Draws a grid cell.
protected virtual void DrawCellImage(Graphics g, int row, int col, Rectangle rcBounds)
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)
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.