Class SpreadsheetHeaderCellRenderer
Represents a class which holds the cell renderer that displays GridHeaderCell in a GridCell. Override the methods for initializing content of the cell and arranging the cell visuals.
Inheritance
System.Object
SpreadsheetHeaderCellRenderer
Inherited Members
SpreadsheetVirtualizingCellRendererBase<GridHeaderCell, GridHeaderCell>.OnEditingComplete(UIElement)
SpreadsheetVirtualizingCellRendererBase<GridHeaderCell, GridHeaderCell>.OnEnteredEditMode(UIElement)
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 |
---|---|---|
RowColumnIndex | rowColumnIndex | Coordinates of a cell. |
GridHeaderCell | uiElement | An instance of GridHeaderCell. |
SpreadsheetColumn | column | An instance of SpreadsheetColumn. |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.CellRenderer.SpreadsheetVirtualizingCellRendererBase<Syncfusion.UI.Xaml.CellGrid.GridHeaderCell, Syncfusion.UI.Xaml.CellGrid.GridHeaderCell>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Syncfusion.UI.Xaml.CellGrid.GridHeaderCell, Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetColumn)
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 |
---|---|---|
RowColumnIndex | rowColumnIndex | Coordinates of a cell. |
GridHeaderCell | uiElement | An instance of GridHeaderCell. |
SpreadsheetColumn | column | An instance of SpreadsheetColumn. |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.CellRenderer.SpreadsheetVirtualizingCellRendererBase<Syncfusion.UI.Xaml.CellGrid.GridHeaderCell, Syncfusion.UI.Xaml.CellGrid.GridHeaderCell>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Syncfusion.UI.Xaml.CellGrid.GridHeaderCell, Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetColumn)
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 |
---|---|---|
RowColumnIndex | cellRowColumnIndex | Coordinates of a cell. |
GridHeaderCell | uiElement | An instance of |
SpreadsheetColumn | column | An instance of SpreadsheetColumn. |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.CellRenderer.SpreadsheetVirtualizingCellRendererBase<Syncfusion.UI.Xaml.CellGrid.GridHeaderCell, Syncfusion.UI.Xaml.CellGrid.GridHeaderCell>.OnUpdateEditCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Syncfusion.UI.Xaml.CellGrid.GridHeaderCell, Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetColumn)
Implements
System.IDisposable