ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / GridRendererOffice2007Black 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 _
    ) 
    public virtual void OnDrawCell( 
       C1FlexGridBase flex,
       OwnerDrawCellEventArgs e,
       C1FlexGridRenderer.CellType 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