menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridStackedHeaderCellRenderer - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridStackedHeaderCellRenderer

    GridStackedHeaderCellRenderer is a cell rendrer for GridStackedHeaderCellControl that displays stacked header contents in a StackedHeaderRow. 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
    System.Object
    GridCellRendererBase
    GridVirtualizingCellRendererBase<Xamarin.Forms.ContentView, GridCell>
    GridStackedHeaderCellRenderer
    Implements
    IGridCellRenderer
    System.IDisposable
    Inherited Members
    GridCellRendererBase.BeginEdit(RowColumnIndex, CellElement, GridColumn, Object)
    GridCellRendererBase.CanUpdateBinding(DataColumnBase)
    GridCellRendererBase.ClearRecycleBin()
    GridCellRendererBase.CommitCellValue(Boolean)
    GridCellRendererBase.CurrentCellElement
    GridCellRendererBase.CurrentCellIndex
    GridCellRendererBase.CurrentCellRendererElement
    GridCellRendererBase.DataGrid
    GridCellRendererBase.Dispose()
    GridCellRendererBase.Dispose(Boolean)
    GridCellRendererBase.EndEdit(DataColumnBase, Object, Boolean)
    GridCellRendererBase.GetControlValue()
    GridCellRendererBase.HasCurrentCellState
    GridCellRendererBase.IGridCellRenderer.UpdateColumnInfo(DataColumnBase)
    GridCellRendererBase.IsEditable
    GridCellRendererBase.IsFocusable
    GridCellRendererBase.OnLayout(RowColumnIndex, View, Int32, Int32, Int32, Int32)
    GridCellRendererBase.OnMeasure(RowColumnIndex, View, Int32, Int32)
    GridCellRendererBase.OnPrepareViews(DataColumnBase)
    GridCellRendererBase.OnRefreshDisplayValue(DataColumnBase)
    GridCellRendererBase.OnUnloadViews(DataColumnBase)
    GridCellRendererBase.OnUpdateColumnInfo(DataColumnBase)
    GridCellRendererBase.PrepareViews(DataColumnBase)
    GridCellRendererBase.RefreshDisplayValue(DataColumnBase)
    GridCellRendererBase.ResetCurrentCellState()
    GridCellRendererBase.SetCellStyle(DataColumnBase)
    GridCellRendererBase.SetControlValue(Object)
    GridCellRendererBase.SetCurrentCellState(RowColumnIndex, CellElement, Boolean)
    GridCellRendererBase.SetFocus(Boolean)
    GridCellRendererBase.SetFocus(View, Boolean)
    GridCellRendererBase.SupportsRenderOptimization
    GridCellRendererBase.UnloadViews(DataColumnBase)
    GridCellRendererBase.UpdateCellStyle(DataColumnBase)
    GridCellRendererBase.UpdateCellValue(DataColumnBase)
    GridCellRendererBase.UpdateColumnInfo(DataColumnBase)
    GridCellRendererBase.UpdateCurrentCellState(View, Boolean)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.AllowRecycle
    GridVirtualizingCellRendererBase<ContentView, GridCell>.BeginEdit(RowColumnIndex, CellElement, GridColumn, Object)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.ClearRecycleBin()
    GridVirtualizingCellRendererBase<ContentView, GridCell>.CommitCellValue(Boolean)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.displayRecycleBin
    GridVirtualizingCellRendererBase<ContentView, GridCell>.Dispose(Boolean)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.editRecycleBin
    GridVirtualizingCellRendererBase<ContentView, GridCell>.EndEdit(DataColumnBase, Object, Boolean)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.InitializeDisplayView(DataColumnBase, ContentView)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.InitializeEditView(DataColumnBase, GridCell)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnCreateDisplayUIView()
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnCreateEditUIView()
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnEnteredEditMode(DataColumnBase, View)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnInitializeDisplayView(DataColumnBase, ContentView)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnInitializeEditView(DataColumnBase, GridCell)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnLayout(RowColumnIndex, View, Int32, Int32, Int32, Int32)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnMeasure(RowColumnIndex, View, Int32, Int32)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnPrepareViews(DataColumnBase)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnRefreshDisplayValue(DataColumnBase)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnSetCellStyle(DataColumnBase)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnUnloadViews(DataColumnBase)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnUpdateCellStyle(DataColumnBase)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnUpdateColumnInfo(DataColumnBase)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.OnUpdateDisplayValue(DataColumnBase, ContentView)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.ResumeBinding(DataColumnBase, ContentView)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.SuspendBinding(DataColumnBase, ContentView)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.UnwireEditUIElement(GridCell)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.UpdateColumnElement(DataColumnBase)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.UpdateDisplayValue(DataColumnBase, ContentView)
    GridVirtualizingCellRendererBase<ContentView, GridCell>.WireEditUIElement(GridCell)
    Namespace: Syncfusion.SfDataGrid.XForms
    Assembly: Syncfusion.SfDataGrid.XForms.dll
    Syntax
    public class GridStackedHeaderCellRenderer : GridVirtualizingCellRendererBase<ContentView, GridCell>, IGridCellRenderer, IDisposable
    Remarks

    GridStackedHeaderCellRenderer loads a Xamarin.Forms.ContentView inside the GridStackedHeaderCellControl inside which it hosts an SfLabel for displaying the Text.

    Constructors

    GridStackedHeaderCellRenderer()

    Initializes a new instance of the GridStackedHeaderCellRenderer class.

    Declaration
    public GridStackedHeaderCellRenderer()

    Methods

    OnCreateDisplayUIView()

    Creates a new Xamarin.Forms.ContentView.

    Declaration
    protected override ContentView OnCreateDisplayUIView()
    Returns
    Type Description
    Xamarin.Forms.ContentView

    A new Xamarin.Forms.ContentView.

    Overrides
    Syncfusion.SfDataGrid.XForms.GridVirtualizingCellRendererBase<Xamarin.Forms.ContentView, Syncfusion.SfDataGrid.XForms.GridCell>.OnCreateDisplayUIView()

    OnInitializeDisplayView(DataColumnBase, ContentView)

    Initializes the column element of a Syncfusion.SfDataGrid.XForms.DataColumn object with the given Xamarin.Forms.ContentView and required values.

    Declaration
    public override void OnInitializeDisplayView(DataColumnBase dataColumn, ContentView view)
    Parameters
    Type Name Description
    Syncfusion.SfDataGrid.XForms.DataColumnBase dataColumn

    The dataColumn containing the details of the column.

    Xamarin.Forms.ContentView view

    A Xamarin.Forms.ContentView to be hosted inside the column element.

    Overrides
    Syncfusion.SfDataGrid.XForms.GridVirtualizingCellRendererBase<Xamarin.Forms.ContentView, Syncfusion.SfDataGrid.XForms.GridCell>.OnInitializeDisplayView(Syncfusion.SfDataGrid.XForms.DataColumnBase, Xamarin.Forms.ContentView)

    OnSetCellStyle(DataColumnBase)

    Called from SetCellStyle(DataColumnBase) to set the style for the column element in a Syncfusion.SfDataGrid.XForms.DataColumn.

    Declaration
    protected override void OnSetCellStyle(DataColumnBase dataColumn)
    Parameters
    Type Name Description
    Syncfusion.SfDataGrid.XForms.DataColumnBase dataColumn

    The data column.

    Overrides
    Syncfusion.SfDataGrid.XForms.GridVirtualizingCellRendererBase<Xamarin.Forms.ContentView, Syncfusion.SfDataGrid.XForms.GridCell>.OnSetCellStyle(Syncfusion.SfDataGrid.XForms.DataColumnBase)

    OnUpdateCellStyle(DataColumnBase)

    Called from UpdateCellStyle(DataColumnBase) to update the cell style for the column element in a Syncfusion.SfDataGrid.XForms.DataColumn.

    Declaration
    protected override void OnUpdateCellStyle(DataColumnBase dataColumn)
    Parameters
    Type Name Description
    Syncfusion.SfDataGrid.XForms.DataColumnBase dataColumn

    The data column.

    Overrides
    Syncfusion.SfDataGrid.XForms.GridVirtualizingCellRendererBase<Xamarin.Forms.ContentView, Syncfusion.SfDataGrid.XForms.GridCell>.OnUpdateCellStyle(Syncfusion.SfDataGrid.XForms.DataColumnBase)

    OnUpdateCellValue(DataColumnBase)

    Updates the cell value of the StackedColumn.

    Declaration
    protected override void OnUpdateCellValue(DataColumnBase dataColumn)
    Parameters
    Type Name Description
    Syncfusion.SfDataGrid.XForms.DataColumnBase dataColumn

    The data column.

    Overrides
    GridCellRendererBase.OnUpdateCellValue(DataColumnBase)

    OnUpdateDisplayValue(DataColumnBase, ContentView)

    Updates the column element of a Syncfusion.SfDataGrid.XForms.DataColumn object with the given Xamarin.Forms.ContentView and required values.

    Declaration
    public override void OnUpdateDisplayValue(DataColumnBase dataColumn, ContentView view)
    Parameters
    Type Name Description
    Syncfusion.SfDataGrid.XForms.DataColumnBase dataColumn

    The dataColumn containing the details of the column.

    Xamarin.Forms.ContentView view

    A Xamarin.Forms.ContentView to be updated inside the column element.

    Overrides
    Syncfusion.SfDataGrid.XForms.GridVirtualizingCellRendererBase<Xamarin.Forms.ContentView, Syncfusion.SfDataGrid.XForms.GridCell>.OnUpdateDisplayValue(Syncfusion.SfDataGrid.XForms.DataColumnBase, Xamarin.Forms.ContentView)

    UpdateColumnElement(DataColumnBase)

    Updates the column element of the passed dataColumn.

    Declaration
    protected override CellElement UpdateColumnElement(DataColumnBase dataColumn)
    Parameters
    Type Name Description
    Syncfusion.SfDataGrid.XForms.DataColumnBase dataColumn

    The data column.

    Returns
    Type Description
    CellElement

    The column element.

    Overrides
    Syncfusion.SfDataGrid.XForms.GridVirtualizingCellRendererBase<Xamarin.Forms.ContentView, Syncfusion.SfDataGrid.XForms.GridCell>.UpdateColumnElement(Syncfusion.SfDataGrid.XForms.DataColumnBase)

    Implements

    IGridCellRenderer
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved