Syncfusion.Grid.Windows
Example 


The row index.
The column index.

GetCellRenderer Method (GridControlBase)

Gets the cell renderer at the specified row and column.
Syntax
'Declaration
 
Public Function GetCellRenderer( _
   ByVal rowIndex As Integer, _
   ByVal colIndex As Integer _
) As GridCellRendererBase
'Usage
 
Dim instance As GridControlBase
Dim rowIndex As Integer
Dim colIndex As Integer
Dim value As GridCellRendererBase
 
value = instance.GetCellRenderer(rowIndex, colIndex)
public GridCellRendererBase GetCellRenderer( 
   int rowIndex,
   int colIndex
)

Parameters

rowIndex
The row index.
colIndex
The column index.

Return Value

The cell renderer for the given cell index.
Example
This example shows how to get the renderer of the given cell index.
//Cell renderer of particular cell.
GridCellRendererBase renderer = this.gridControl1.GetCellRenderer(e.RowIndex, e.ColIndex);
Console.WriteLine("Renderer is" + renderer);
'Cell renderer of particular cell.
Dim renderer As GridCellRendererBase = Me.gridControl1.GetCellRenderer(5, 5)
Console.WriteLine("Renderer is" & renderer)
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also