Class GridImageCellRenderer
GridImageCellRenderer is a class for cell renderer that displays Android.Widget.ImageView in a GridCell. The class provides strong typed override methods for initializing Content of the cell and arranging the cell visuals.
Updates to appearance and Content of child elements, creation and unloading of views will not trigger layout or render calls in parent canvas.
Inheritance
Inherited Members
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.Android.dll
Syntax
public class GridImageCellRenderer : GridVirtualizingCellRendererBase<ImageView, ImageView>, IGridCellRenderer, IDisposable
Constructors
GridImageCellRenderer()
Initializes a new instance of the GridImageCellRenderer class.
Declaration
public GridImageCellRenderer()
Methods
OnCreateDisplayUIView()
Creates a new Android.Widget.ImageView.
Declaration
protected override ImageView OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
Android.Widget.ImageView | A new Android.Widget.ImageView. |
Overrides
OnInitializeDisplayView(DataColumnBase, ImageView)
Initializes the column element of a Syncfusion.SfDataGrid.DataColumn object with the given Android.Widget.ImageView and the required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, ImageView view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Android.Widget.ImageView | view | A Android.Widget.ImageView to be hosted inside the column element. |
Overrides
OnUpdateCellValue(DataColumnBase)
Updates the cell value of the column.
Declaration
protected override void OnUpdateCellValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The data column. |
Overrides
OnUpdateDisplayValue(DataColumnBase, ImageView)
Updates the column element of a Syncfusion.SfDataGrid.DataColumn object with the given Android.Widget.ImageView and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, ImageView view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Android.Widget.ImageView | view | A Android.Widget.ImageView to be updated inside the column element. |