Class GridRowHeaderCellRenderer
GridRowHeaderCellRenderer is a class for cell renderer that displays GridRowHeaderCell. 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.XForms
Assembly: Syncfusion.SfDataGrid.XForms.dll
Syntax
public class GridRowHeaderCellRenderer : GridVirtualizingCellRendererBase<GridRowHeaderCell, GridRowHeaderCell>, IGridCellRenderer, IDisposable
Constructors
GridRowHeaderCellRenderer()
Initializes a new instance of the GridRowHeaderCellRenderer class.
Declaration
public GridRowHeaderCellRenderer()
Methods
OnCreateDisplayUIView()
Creates a new GridRowHeaderCell view.
Declaration
protected override GridRowHeaderCell OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
GridRowHeaderCell | A new GridRowHeaderCell view. |
Overrides
OnInitializeDisplayView(DataColumnBase, GridRowHeaderCell)
Initializes the column element of a Syncfusion.SfDataGrid.XForms.DataColumn object with the given GridRowHeaderCell and required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, GridRowHeaderCell view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
GridRowHeaderCell | view | A GridRowHeaderCell view to be hosted in the cell. |
Overrides
OnRefreshDisplayValue(DataColumnBase)
Called from RefreshDisplayValue(DataColumnBase) to refresh the display value of the GridRowHeaderCell.
Declaration
protected override void OnRefreshDisplayValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Overrides
OnUpdateCellStyle(DataColumnBase)
Called from UpdateCellStyle(DataColumnBase) to update the cell style for the GridRowHeaderCell.
Declaration
protected override void OnUpdateCellStyle(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The data column. |
Overrides
OnUpdateDisplayValue(DataColumnBase, GridRowHeaderCell)
Updates the column element of a Syncfusion.SfDataGrid.XForms.DataColumn object with the given GridRowHeaderCell view and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, GridRowHeaderCell view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.XForms.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
GridRowHeaderCell | view | A GridRowHeaderCell view to be updated in the cell. |