[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridRenderer.OnDrawCell

OnDrawCell Method

OnDrawCell(C1FlexGridBase, OwnerDrawCellEventArgs)

Draws a grid cell of any type.

Declaration
public virtual void OnDrawCell(C1FlexGridBase flex, OwnerDrawCellEventArgs e)
Parameters
Type Name Description
C1FlexGridBase flex

C1FlexGridBase that contains the cell being drawn.

OwnerDrawCellEventArgs e

OwnerDrawCellEventArgs that provides information about the cell being drawn.

Remarks

This method determines the type of cell being drawn and then calls the OnDrawCell(C1FlexGridBase, OwnerDrawCellEventArgs, CellType) method passing the type of cell to be drawn.

OnDrawCell(C1FlexGridBase, OwnerDrawCellEventArgs, CellType)

Draws a single grid cell of a specific type.

Declaration
public virtual void OnDrawCell(C1FlexGridBase flex, OwnerDrawCellEventArgs e, C1FlexGridRenderer.CellType cellType)
Parameters
Type Name Description
C1FlexGridBase flex

C1FlexGridBase that contains the cell being drawn.

OwnerDrawCellEventArgs e

OwnerDrawCellEventArgs that provides information about the cell being drawn.

C1FlexGridRenderer.CellType cellType

C1FlexGridRenderer.CellType value that determines the type of cell being drawn.