Syncfusion.Grid.Windows


The top client row.
The left client column.
The bottom client row.
The right client column.
The System.Drawing.Graphics context of the canvas.
The client rectangle with the clipping bounds.

OnDrawClientRowCol Method (GridControlBase)

Occurs when the grid drawing engine wants to draw the specified range of visible cells that need repainting.
Syntax
'Declaration
 
Public Overridable Sub OnDrawClientRowCol( _
   ByVal topRow As Integer, _
   ByVal leftCol As Integer, _
   ByVal bottomRow As Integer, _
   ByVal rightCol As Integer, _
   ByVal g As Graphics, _
   ByVal rectClip As Rectangle _
) 
'Usage
 
Dim instance As GridControlBase
Dim topRow As Integer
Dim leftCol As Integer
Dim bottomRow As Integer
Dim rightCol As Integer
Dim g As Graphics
Dim rectClip As Rectangle
 
instance.OnDrawClientRowCol(topRow, leftCol, bottomRow, rightCol, g, rectClip)
public virtual void OnDrawClientRowCol( 
   int topRow,
   int leftCol,
   int bottomRow,
   int rightCol,
   Graphics g,
   Rectangle rectClip
)

Parameters

topRow
The top client row.
leftCol
The left client column.
bottomRow
The bottom client row.
rightCol
The right client column.
g
The System.Drawing.Graphics context of the canvas.
rectClip
The client rectangle with the clipping bounds.
Remarks
The row and index positions are relative to the top and left column.

GetRow and GetCol let you convert client row and column positions into absolute row and column indexes.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also