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


In This Topic
    Paint Method (NDataGridViewDetailsCell)
    In This Topic
    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 NDataGridViewDetailsCell
    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 override 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 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