SpreadsheetHeaderCellRenderer Class
Represents a class which holds the cell renderer that displays Syncfusion.UI.Xaml.CellGrid.GridHeaderCell in a GridCell. Override the methods for initializing content of the cell and arranging the cell visuals.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.CellRenderer
Assembly: Syncfusion.SfSpreadsheet.UWP.dll
Syntax
public class SpreadsheetHeaderCellRenderer : SpreadsheetVirtualizingCellRendererBase<GridHeaderCell, GridHeaderCell>, ISpreadsheetCellRenderer, IDisposable
Constructors
SpreadsheetHeaderCellRenderer()
Initializes a new instance of the SpreadsheetHeaderCellRenderer class.
Declaration
public SpreadsheetHeaderCellRenderer()
Methods
OnInitializeDisplayElement(RowColumnIndex, GridHeaderCell, SpreadsheetColumn)
Invoked when display element of header cell is initialized on the cell.
Declaration
protected override void OnInitializeDisplayElement(RowColumnIndex rowColumnIndex, GridHeaderCell uiElement, SpreadsheetColumn column)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex | rowColumnIndex | Coordinates of a cell. |
Syncfusion.UI.Xaml.CellGrid.GridHeaderCell | uiElement | An instance of Syncfusion.UI.Xaml.CellGrid.GridHeaderCell. |
SpreadsheetColumn | column | An instance of SpreadsheetColumn. |
Overrides
OnInitializeEditElement(RowColumnIndex, GridHeaderCell, SpreadsheetColumn)
Invoked when edit element of header cell is initialized on the cell.
Declaration
protected override void OnInitializeEditElement(RowColumnIndex rowColumnIndex, GridHeaderCell uiElement, SpreadsheetColumn column)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex | rowColumnIndex | Coordinates of a cell. |
Syncfusion.UI.Xaml.CellGrid.GridHeaderCell | uiElement | An instance of Syncfusion.UI.Xaml.CellGrid.GridHeaderCell. |
SpreadsheetColumn | column | An instance of SpreadsheetColumn. |
Overrides
OnUpdateEditCellStyle(RowColumnIndex, GridHeaderCell, SpreadsheetColumn)
Update the cell style and content of the edit element.
Declaration
protected override void OnUpdateEditCellStyle(RowColumnIndex cellRowColumnIndex, GridHeaderCell uiElement, SpreadsheetColumn column)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex | cellRowColumnIndex | Coordinates of a cell. |
Syncfusion.UI.Xaml.CellGrid.GridHeaderCell | uiElement | An instance of |
SpreadsheetColumn | column | An instance of SpreadsheetColumn. |