Syncfusion.Grid.Windows


The GridCellButton to be drawn.
The System.Drawing.Graphics context of the canvas.
The row index.
The column index.
True if this is the active current cell; False otherwise.
The GridStyleInfo object that holds cell information.

OnDrawCellButton Method (GridCellRendererBase)

Draws the cell button element at the specified row and column index.
Syntax
'Declaration
 
Protected Overridable Sub OnDrawCellButton( _
   ByVal button As GridCellButton, _
   ByVal g As Graphics, _
   ByVal rowIndex As Integer, _
   ByVal colIndex As Integer, _
   ByVal bActive As Boolean, _
   ByVal style As GridStyleInfo _
) 
'Usage
 
Dim instance As GridCellRendererBase
Dim button As GridCellButton
Dim g As Graphics
Dim rowIndex As Integer
Dim colIndex As Integer
Dim bActive As Boolean
Dim style As GridStyleInfo
 
instance.OnDrawCellButton(button, g, rowIndex, colIndex, bActive, style)
protected virtual void OnDrawCellButton( 
   GridCellButton button,
   Graphics g,
   int rowIndex,
   int colIndex,
   bool bActive,
   GridStyleInfo style
)

Parameters

button
The GridCellButton to be drawn.
g
The System.Drawing.Graphics context of the canvas.
rowIndex
The row index.
colIndex
The column index.
bActive
True if this is the active current cell; False otherwise.
style
The GridStyleInfo object that holds cell information.
AssemblyVersion

Syncfusion.Grid.Windows: 18.2460.0.44

See Also