Class GridCaptionSummaryCellRenderer
GridCaptionSummaryCellRenderer is a class for cell renderer that displays UIKit.UILabel in a GridCaptionSummaryCell. 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 GridCaptionSummaryCellRenderer : GridVirtualizingCellRendererBase<UILabel, GridCaptionSummaryCell>, IGridCellRenderer, IDisposable
Constructors
GridCaptionSummaryCellRenderer()
Initializes a new instance of the GridCaptionSummaryCellRenderer class.
Declaration
public GridCaptionSummaryCellRenderer()
Methods
OnCreateDisplayUIView()
Creates a new UIKit.UILabel view and initializes it with the required properties.
Declaration
protected override UILabel OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
UIKit.UILabel | A new UIKit.UILabel view. |
Overrides
OnInitializeDisplayView(DataColumnBase, UILabel)
Initializes the column element of a Syncfusion.SfDataGrid.DataColumn object with the given UIKit.UILabel view and required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, UILabel view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The data column object containing the values to be updated in the view. |
UIKit.UILabel | view | A UIKit.UILabel view to be hosted inside the column element. |
Overrides
OnUpdateCellValue(DataColumnBase)
Updates the cell value of the grouped column.
Declaration
protected override void OnUpdateCellValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The data column. |
Overrides
OnUpdateDisplayValue(DataColumnBase, UILabel)
Updates the column element of a Syncfusion.SfDataGrid.DataColumn object with the given UIKit.UILabel view and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, UILabel view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The data column object containing the values to be updated in the view. |
UIKit.UILabel | view | A UIKit.UILabel view to be updated inside the column element. |
Overrides
UpdateColumnElement(DataColumnBase)
Updates the column element of the passed dataColumn.
Declaration
protected override CellElement UpdateColumnElement(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The data column. |
Returns
Type | Description |
---|---|
CellElement | The column element. |