Class GridGroupSummaryCellRenderer
GridGroupSummaryCellRenderer is a class for cell renderer that displays SfLabel in a GridGroupSummaryCell. The class provides the 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.XForms
Assembly: Syncfusion.SfDataGrid.XForms.dll
Syntax
public class GridGroupSummaryCellRenderer : GridVirtualizingCellRendererBase<SfLabel, GridGroupSummaryCell>, IGridCellRenderer, IDisposable
Constructors
GridGroupSummaryCellRenderer()
Initializes a new instance of the GridGroupSummaryCellRenderer class.
Declaration
public GridGroupSummaryCellRenderer()
Methods
CanUpdateBinding(DataColumnBase)
Determines whether the binding for the column can be updated. Implement this method to update binding on particular renderer when the data context is set.
Declaration
public override bool CanUpdateBinding(DataColumnBase dataColumnBase)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumnBase | The corresponding column for which the binding update should be determined. |
Returns
Type | Description |
---|---|
System.Boolean | TrueIf the binding is updated for the column, otherwise false. |
Overrides
OnCreateDisplayUIView()
Creates a new SfLabelView and initializes it with the required properties.
Declaration
protected override SfLabel OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
SfLabel | A new SfLabelView. |
Overrides
OnInitializeDisplayView(DataColumnBase, SfLabel)
Initializes the column element of a Syncfusion.SfDataGrid.XForms.SpannedDataColumn object with the given SfLabel view and required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, SfLabel view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
SfLabel | view | A SfLabelObject to be hosted inside the column element. |
Overrides
OnUpdateCellStyle(DataColumnBase)
Called from UpdateCellStyle(DataColumnBase) to update the cell style of the GridGroupSummaryCell.
Declaration
protected override void OnUpdateCellStyle(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The spanned data column. |
Overrides
OnUpdateCellValue(DataColumnBase)
Updates cell value of the spanned data column.
Declaration
protected override void OnUpdateCellValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The spanned data column. |
Overrides
OnUpdateDisplayValue(DataColumnBase, SfLabel)
Updates the column element of a Syncfusion.SfDataGrid.XForms.SpannedDataColumn object with the given SfLabel view and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, SfLabel view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
SfLabel | view | A SfLabelObject to be hosted inside the column element. |
Overrides
UpdateColumnElement(DataColumnBase)
Updates the column element of the passed spanned data column.
Declaration
protected override CellElement UpdateColumnElement(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The spanned data column. |
Returns
Type | Description |
---|---|
CellElement | The column element. |