ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid 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.

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 _
    )
    public OwnerDrawCellEventArgs( 
       C1FlexGridBase view,
       Graphics graphics,
       int row,
       int col,
       CellStyle style,
       Rectangle bounds,
       string text,
       Image img
    )

    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.
    See Also