Class TreeGridRowHeaderCellRenderer
Represents a class that maintains the rendering of TreeGridRowHeaderCell in SfTreeGrid.
Inheritance
System.Object
TreeGridRowHeaderCellRenderer
Inherited Members
TreeGridVirtualizingCellRendererBase<TreeGridRowHeaderCell, TreeGridRowHeaderCell>.ClearRecycleBin()
Namespace: Syncfusion.UI.Xaml.TreeGrid.Renderers
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridRowHeaderCellRenderer : TreeGridVirtualizingCellRenderer<TreeGridRowHeaderCell, TreeGridRowHeaderCell>, ITreeGridCellRenderer, IDisposable
Constructors
TreeGridRowHeaderCellRenderer()
Initializes a new instance of TreeGridRowHeaderCellRenderer class.
Declaration
public TreeGridRowHeaderCellRenderer()
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
Syncfusion.UI.Xaml.TreeGrid.Renderers.TreeGridVirtualizingCellRendererBase<Syncfusion.UI.Xaml.TreeGrid.TreeGridRowHeaderCell, Syncfusion.UI.Xaml.TreeGrid.TreeGridRowHeaderCell>.InitializeCellStyle(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Object)
OnInitializeEditElement(TreeDataColumnBase, TreeGridRowHeaderCell, Object)
Invoked when the edit element is initialized on the cell.
Declaration
public override void OnInitializeEditElement(TreeDataColumnBase dataColumn, TreeGridRowHeaderCell uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
TreeDataColumnBase | dataColumn | The dataColumn where the cell is located. |
TreeGridRowHeaderCell | uiElement | The element that is initialized on the edit element of cell. |
System.Object | dataContext | The dataContext of the cell. |
Overrides
Syncfusion.UI.Xaml.TreeGrid.Renderers.TreeGridVirtualizingCellRenderer<Syncfusion.UI.Xaml.TreeGrid.TreeGridRowHeaderCell, Syncfusion.UI.Xaml.TreeGrid.TreeGridRowHeaderCell>.OnInitializeEditElement(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, Syncfusion.UI.Xaml.TreeGrid.TreeGridRowHeaderCell, System.Object)
Implements
System.IDisposable