ArcFM Solution Developer Guide
Paint Method


Syntax
'Declaration
 
Protected Overridable 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 TreeGridViewTextBoxCell
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)
protected virtual void Paint( 
   System.Drawing.Graphics graphics,
   System.Drawing.Rectangle clipBounds,
   System.Drawing.Rectangle cellBounds,
   System.int rowIndex,
   System.Windows.Forms.DataGridViewElementStates cellState,
   System.object value,
   System.object formattedValue,
   System.string errorText,
   System.Windows.Forms.DataGridViewCellStyle cellStyle,
   System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle,
   System.Windows.Forms.DataGridViewPaintParts paintParts
)

Parameters

graphics
clipBounds
cellBounds
rowIndex
cellState
value
formattedValue
errorText
cellStyle
advancedBorderStyle
paintParts
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

TreeGridViewTextBoxCell Class
TreeGridViewTextBoxCell Members

 

 


Send Comment