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