FlexGrid for WinForms
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 _
)
'Usage
 
Dim view As C1FlexGridBase
Dim graphics As Graphics
Dim row As Integer
Dim col As Integer
Dim style As CellStyle
Dim bounds As Rectangle
Dim text As String
Dim img As Image
 
Dim instance As New OwnerDrawCellEventArgs(view, graphics, row, col, style, bounds, text, 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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

OwnerDrawCellEventArgs Class
OwnerDrawCellEventArgs Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback