Nevron.UI.WinForm.Controls Namespace / NDataGridViewProgressBarCell Class / Paint Method


Paint Method (NDataGridViewProgressBarCell)
Syntax
'Declaration
 
Protected Overrides Sub Paint( _
   ByVal graphics As System.Drawing.Graphics, _
   ByVal clipBounds As System.Drawing.Rectangle, _
   ByVal cellBounds As System.Drawing.Rectangle, _
   ByVal rowIndex As System.Integer, _
   ByVal cellState As System.Windows.Forms.DataGridViewElementStates, _
   ByVal value As System.Object, _
   ByVal formattedValue As System.Object, _
   ByVal errorText As System.String, _
   ByVal cellStyle As System.Windows.Forms.DataGridViewCellStyle, _
   ByVal advancedBorderStyle As System.Windows.Forms.DataGridViewAdvancedBorderStyle, _
   ByVal paintParts As System.Windows.Forms.DataGridViewPaintParts _
) 
 
'Usage
 
Dim instance As NDataGridViewProgressBarCell
Dim graphics As System.Drawing.Graphics
Dim clipBounds As System.Drawing.Rectangle
Dim cellBounds As System.Drawing.Rectangle
Dim rowIndex As System.Integer
Dim cellState As System.Windows.Forms.DataGridViewElementStates
Dim value As System.Object
Dim formattedValue As System.Object
Dim errorText As System.String
Dim cellStyle As System.Windows.Forms.DataGridViewCellStyle
Dim advancedBorderStyle As System.Windows.Forms.DataGridViewAdvancedBorderStyle
Dim paintParts As System.Windows.Forms.DataGridViewPaintParts
 
instance.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, paintParts)

Parameters

graphics
clipBounds
cellBounds
rowIndex
cellState
value
formattedValue
errorText
cellStyle
advancedBorderStyle
paintParts
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