Syncfusion.Grid.Windows


The row index.
The column index.
The GridStyleInfo object that holds cell information.
The System.Drawing.Rectangle with the inner bounds of a cell.
An array of System.Drawing.Rectangle with bounds for each cell button element.

OnLayout Method (GridCellRendererBase)

This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons.
Syntax
'Declaration
 
Protected Overridable Function OnLayout( _
   ByVal rowIndex As Integer, _
   ByVal colIndex As Integer, _
   ByVal style As GridStyleInfo, _
   ByVal innerBounds As Rectangle, _
   ByVal buttonsBounds() As Rectangle _
) As Rectangle
'Usage
 
Dim instance As GridCellRendererBase
Dim rowIndex As Integer
Dim colIndex As Integer
Dim style As GridStyleInfo
Dim innerBounds As Rectangle
Dim buttonsBounds() As Rectangle
Dim value As Rectangle
 
value = instance.OnLayout(rowIndex, colIndex, style, innerBounds, buttonsBounds)

Parameters

rowIndex
The row index.
colIndex
The column index.
style
The GridStyleInfo object that holds cell information.
innerBounds
The System.Drawing.Rectangle with the inner bounds of a cell.
buttonsBounds
An array of System.Drawing.Rectangle with bounds for each cell button element.

Return Value

A System.Drawing.Rectangle with the bounds.
AssemblyVersion

Syncfusion.Grid.Windows: 18.2460.0.44

See Also