Wimark.Controls Class Library  

DataGridViewCellPaintEventArgs Constructor

Initializes a new instance of the DataGridViewCellPaintEventArgs class.

[Visual Basic]
Public Sub New( _
   ByVal cell As DataGridViewCell, _
   ByVal cellState As DataGridViewCellState, _
   ByVal cellBounds As Rectangle, _
   ByVal cellContentBounds As Rectangle, _
   ByVal graphics As Graphics, _
   ByVal clipRectangle As Rectangle _
)
 
[C#]
public DataGridViewCellPaintEventArgs( 
   DataGridViewCell cell, 
   DataGridViewCellState cellState, 
   Rectangle cellBounds, 
   Rectangle cellContentBounds, 
   Graphics graphics, 
   Rectangle clipRectangle 
);
[C++]
public: DataGridViewCellPaintEventArgs( 
   DataGridViewCell* cell, 
   DataGridViewCellState cellState, 
   Rectangle cellBounds, 
   Rectangle cellContentBounds, 
   Graphics* graphics, 
   Rectangle clipRectangle 
);

Parameters

cell
The cell that is being drawn.
cellState
The graphical state of the cell.
cellBounds
The bounds of the cell.
cellContentBounds
The bounds of the cell content.
graphics
The Graphics used to paint the cell.
clipRectangle
The area of the DataGridView that needs to be repainted.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

DataGridViewCellPaintEventArgs Class | DataGridViewCellPaintEventArgs Members | Wimark.Controls Namespace