ComponentOne FlexGrid for WinForms
OwnerDrawCellEventArgs Constructor

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.
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 _
)

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

Reference

OwnerDrawCellEventArgs Class
OwnerDrawCellEventArgs Members