Class GridStackedHeaderCellRenderer
Represents a class that maintains the rendering of GridStackedHeaderCellControl in SfDataGrid.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid.Cells
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridStackedHeaderCellRenderer : GridVirtualizingCellRenderer<GridStackedHeaderCellControl, GridStackedHeaderCellControl>, IGridCellRenderer, IDisposable
Constructors
GridStackedHeaderCellRenderer()
Initializes a new instance of GridStackedHeaderCellRenderer class.
Declaration
public GridStackedHeaderCellRenderer()
Methods
InitializeCellStyle(DataColumnBase, Object)
Declaration
protected override void InitializeCellStyle(DataColumnBase dataColumn, object record)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | |
System.Object | record |
Overrides
OnInitializeDisplayElement(DataColumnBase, GridStackedHeaderCellControl, Object)
Initialize the binding for display element of corresponding column.
Declaration
public override void OnInitializeDisplayElement(DataColumnBase dataColumn, GridStackedHeaderCellControl uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
GridStackedHeaderCellControl | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the dataContext of the cell. |
Overrides
OnInitializeEditElement(DataColumnBase, GridStackedHeaderCellControl, Object)
Initialize the binding for editor control of corresponding column.
Declaration
public override void OnInitializeEditElement(DataColumnBase dataColumn, GridStackedHeaderCellControl uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
GridStackedHeaderCellControl | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the dataContext of the cell. |
Overrides
OnUpdateDisplayBinding(DataColumnBase, GridStackedHeaderCellControl, Object)
Updates the binding for display element of cell in column.
Declaration
public override void OnUpdateDisplayBinding(DataColumnBase dataColumn, GridStackedHeaderCellControl uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
GridStackedHeaderCellControl | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the dataContext of the cell. |
Overrides
OnUpdateEditBinding(DataColumnBase, GridStackedHeaderCellControl, Object)
Updates the binding for editor control of the corresponding column.
Declaration
public override void OnUpdateEditBinding(DataColumnBase dataColumn, GridStackedHeaderCellControl element, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
GridStackedHeaderCellControl | element | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the dataContext of the cell. |