Class TreeGridStackedHeaderCellRenderer
Represents a class that maintains the rendering of TreeGridStackedHeaderCell in SfTreeGrid.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid.Renderers
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridStackedHeaderCellRenderer : TreeGridVirtualizingCellRenderer<TreeGridStackedHeaderCell, TreeGridStackedHeaderCell>, ITreeGridCellRenderer, IDisposable
Constructors
TreeGridStackedHeaderCellRenderer()
Initializes a new instance of TreeGridStackedHeaderCellRenderer class.
Declaration
public TreeGridStackedHeaderCellRenderer()
Methods
InitializeCellStyle(TreeDataColumnBase, Object)
Initializes the custom style for cell when the corresponding API's and Selectors are used.
Declaration
protected override void InitializeCellStyle(TreeDataColumnBase dataColumn, object record)
Parameters
Type | Name | Description |
---|---|---|
TreeDataColumnBase | dataColumn | The corresponding DataColumn Which holds TreeGridColumn, RowColumnIndex and GridCell to initialize cell style. |
System.Object | record | The corresponding record to initialize cell style. |
Overrides
OnInitializeDisplayElement(TreeDataColumnBase, TreeGridStackedHeaderCell, Object)
Invoked when the display element is initialized on the cell.
Declaration
public override void OnInitializeDisplayElement(TreeDataColumnBase dataColumn, TreeGridStackedHeaderCell uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
TreeDataColumnBase | dataColumn | The dataColumn where the cell is located. |
TreeGridStackedHeaderCell | uiElement | The uiElement that is initialized on the display element of cell. |
System.Object | dataContext | The dataContext of the cell. |
Overrides
OnInitializeEditElement(TreeDataColumnBase, TreeGridStackedHeaderCell, Object)
Invoked when the edit element is initialized on the cell.
Declaration
public override void OnInitializeEditElement(TreeDataColumnBase dataColumn, TreeGridStackedHeaderCell uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
TreeDataColumnBase | dataColumn | |
TreeGridStackedHeaderCell | uiElement | The element that is initialized on the edit element of cell. |
System.Object | dataContext | The dataContext of the cell. |
Overrides
OnUpdateDisplayBinding(TreeDataColumnBase, TreeGridStackedHeaderCell, Object)
Updates the binding for display element of cell in column.
Declaration
public override void OnUpdateDisplayBinding(TreeDataColumnBase dataColumn, TreeGridStackedHeaderCell uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
TreeDataColumnBase | dataColumn | The corresponding dataColumn where the cell is located. |
TreeGridStackedHeaderCell | uiElement | The corresponding uiElement to update display element. |
System.Object | dataContext | The data context of the cell. |
Overrides
OnUpdateEditBinding(TreeDataColumnBase, TreeGridStackedHeaderCell, Object)
Updates the binding for edit element of cell in column.
Declaration
public override void OnUpdateEditBinding(TreeDataColumnBase dataColumn, TreeGridStackedHeaderCell element, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
TreeDataColumnBase | dataColumn | The corresponding dataColumn where the cell is located. |
TreeGridStackedHeaderCell | element | The corresponding element to update binding of edit element. |
System.Object | dataContext | The data context of the cell. |