Syncfusion.Grid.Windows


The System.Drawing.Graphics context of the canvas.
The System.Drawing.Rectangle with the bounds.
The GridStyleInfo object that holds cell information.

DrawCellAppearance Method (GridCellRendererBase)

Draws the frame for the cells appearance (sunken or raised).
Syntax
'Declaration
 
Protected Overridable Sub DrawCellAppearance( _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal style As GridStyleInfo _
) 
'Usage
 
Dim instance As GridCellRendererBase
Dim g As Graphics
Dim rect As Rectangle
Dim style As GridStyleInfo
 
instance.DrawCellAppearance(g, rect, style)
protected virtual void DrawCellAppearance( 
   Graphics g,
   Rectangle rect,
   GridStyleInfo style
)

Parameters

g
The System.Drawing.Graphics context of the canvas.
rect
The System.Drawing.Rectangle with the bounds.
style
The GridStyleInfo object that holds cell information.
Remarks
If you want to draw custom borders around a cell, be sure to reserve space for the extra area occupied by your borders. See BorderMargins.
AssemblyVersion

Syncfusion.Grid.Windows: 18.2460.0.44

See Also