FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / OwnerDrawCellEventArgs Class / OwnerDrawCellEventArgs Constructor
The C1FlexGridBase control that contains the cell being painted.
The Graphics object where the cell will be painted.
The row index of the cell being painted.
The column index of the cell being painted.
The CellStyle that will be used to paint the cell.
The bounds of the cell being painted.
The text that will be displayed in the cell.
The image that will be displayed in the cell.
Drawing color mode.

In This Topic
    OwnerDrawCellEventArgs Constructor
    In This Topic
    Initializes a new instance of the OwnerDrawCellEventArgs class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal view As C1FlexGridBase, _
       ByVal graphics As Graphics, _
       ByVal row As Integer, _
       ByVal col As Integer, _
       ByVal style As CellStyle, _
       ByVal bounds As Rectangle, _
       ByVal text As String, _
       ByVal img As Image, _
       Optional ByVal colorMode As DrawColorMode _
    )

    Parameters

    view
    The C1FlexGridBase control that contains the cell being painted.
    graphics
    The Graphics object where the cell will be painted.
    row
    The row index of the cell being painted.
    col
    The column index of the cell being painted.
    style
    The CellStyle that will be used to paint the cell.
    bounds
    The bounds of the cell being painted.
    text
    The text that will be displayed in the cell.
    img
    The image that will be displayed in the cell.
    colorMode
    Drawing color mode.
    See Also