[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGrid.DrawCell

DrawCell Method

DrawCell(PaintEventArgs, int, int, DrawColorMode)

Draws a grid cell.

Declaration
protected override int DrawCell(PaintEventArgs e, int row, int col, DrawColorMode colorMode)
Parameters
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.

Returns
Type Description
int

The index of the last column painted (may be greater than col if columns are merged).

Overrides
Remarks

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