Syncfusion.SfDataGrid.XForms
Example 

CellRenderers Property

Gets the GridCellRendererCollection that contains the cell renderers in SfDataGrid. The CellRenderers manages the creation of cells view objects when the cell is scrolled into view and also unloading of the views. Contains logics to place the UIElement inside cells in display and edit mode.
Syntax
public GridCellRendererCollection CellRenderers {get;}

Property Value

The collection containing the renderers in the SfDataGrid.
Remarks
The CellRenderers manages the creation of cells view objects when the cell is scrolled into view and also unloading of the views. Contains logics to place the UIElement inside cells in display and edit mode. The user can implement the renderer by extending it from the renderer he needs and customize the type of cell to be loaded for each column type in editing and normal mode.

Note:When the user overrides the renderer, he needs to replace it in the CellRenderers collection. For example, if the user implements the GridCellTextViewRenderer class, to customize the cell in the GridTextColumn, then he needs to replace it in the CellRenderers collection.

Example
dataGrid.CellRenderers.Remove("TextView");
dataGrid.CellRenderers.Add("TextView", CustomTextViewRenderer);  
            
//CustomTextViewRenderer.cs
public class CustomTextViewRenderer : GridCellTextViewRenderer
{ 
            
}
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.1451.0.38

See Also