ComponentOne FlexGrid for WinForms
OnDrawCell(C1FlexGridBase,OwnerDrawCellEventArgs,CellType) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridRenderer Class > OnDrawCell Method : OnDrawCell(C1FlexGridBase,OwnerDrawCellEventArgs,CellType) Method
C1FlexGridBase that contains the cell being drawn.
OwnerDrawCellEventArgs that provides information about the cell being drawn.
C1FlexGridRenderer.CellType value that determines the type of cell being drawn.
Draws a single grid cell of a specific type.
Syntax
'Declaration
 
Public Overloads Overridable Sub OnDrawCell( _
   ByVal flex As C1FlexGridBase, _
   ByVal e As OwnerDrawCellEventArgs, _
   ByVal cellType As C1FlexGridRenderer.CellType _
) 

Parameters

flex
C1FlexGridBase that contains the cell being drawn.
e
OwnerDrawCellEventArgs that provides information about the cell being drawn.
cellType
C1FlexGridRenderer.CellType value that determines the type of cell being drawn.
See Also

Reference

C1FlexGridRenderer Class
C1FlexGridRenderer Members
Overload List