Class GridImageCellRenderer
GridImageCellRenderer is a class for cell renderer that displays UIKit.UIImageView 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.iOS.dll
Syntax
public class GridImageCellRenderer : GridVirtualizingCellRendererBase<UIImageView, UIImageView>, IGridCellRenderer, IDisposable
Constructors
GridImageCellRenderer()
Initializes a new instance of the GridImageCellRenderer class.
Declaration
public GridImageCellRenderer()
Methods
OnCreateDisplayUIView()
Creates a new UIKit.UIImageView.
Declaration
protected override UIImageView OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
UIKit.UIImageView | A new UIKit.UIImageView. |
Overrides
OnInitializeDisplayView(DataColumnBase, UIImageView)
Initializes the column element of a Syncfusion.SfDataGrid.DataColumn object with the given UIKit.UIImageView and the required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, UIImageView view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
UIKit.UIImageView | view | A UIKit.UIImageView 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, UIImageView)
Updates the column element of a Syncfusion.SfDataGrid.DataColumn object with the given UIKit.UIImageView and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, UIImageView view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
UIKit.UIImageView | view | A UIKit.UIImageView to be updated inside the column element. |