FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid 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.

In This Topic
    OnDrawCell(C1FlexGridBase,OwnerDrawCellEventArgs,CellType) Method
    In This Topic
    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