Syncfusion.Grid.Windows


The System.Drawing.Graphics context of the canvas.
The row index.
The column index.
Specifies the cell rectangle. Please note that rectItem only is the visible bounds of cell.
True if method was called from within System.Widows.Forms.Control.OnPaint for this control.

DrawInvertCell Method (GridControlBase)

Occurs when the grid drawing engine wants to invert a cell when it belongs to a selected range.
Syntax
'Declaration
 
Protected Overridable Sub DrawInvertCell( _
   ByVal g As Graphics, _
   ByVal rowIndex As Integer, _
   ByVal colIndex As Integer, _
   ByVal rectItem As Rectangle, _
   ByVal inPaint As Boolean _
) 
'Usage
 
Dim instance As GridControlBase
Dim g As Graphics
Dim rowIndex As Integer
Dim colIndex As Integer
Dim rectItem As Rectangle
Dim inPaint As Boolean
 
instance.DrawInvertCell(g, rowIndex, colIndex, rectItem, inPaint)
protected virtual void DrawInvertCell( 
   Graphics g,
   int rowIndex,
   int colIndex,
   Rectangle rectItem,
   bool inPaint
)

Parameters

g
The System.Drawing.Graphics context of the canvas.
rowIndex
The row index.
colIndex
The column index.
rectItem
Specifies the cell rectangle. Please note that rectItem only is the visible bounds of cell.
inPaint
True if method was called from within System.Widows.Forms.Control.OnPaint for this control.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also