[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.DrawCellImage

DrawCellImage Method

DrawCellImage(Graphics, int, int, Rectangle)

Draws a grid cell.

Declaration
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)
Parameters
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.

Remarks

This method is for internal use. It allows inherited classes to customize the grid appearance.

DrawCellImage(Graphics, int, int, Rectangle, DrawColorMode)

Draws a grid cell.

Declaration
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)
Parameters
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.

Remarks

This method is for internal use. It allows inherited classes to customize the grid appearance.