Interface ITreeGridCellRenderer
Defines the interface for the cell renderer of the SfTreeGrid control.
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public interface ITreeGridCellRenderer : IDisposable
Properties
TreeGrid
Gets or sets the reference of the SfTreeGrid control.
Declaration
SfTreeGrid TreeGrid { get; set; }
Property Value
| Type |
|---|
| SfTreeGrid |
Methods
CanUpdateBinding(TreeGridDataColumnBase)
to do
Declaration
bool CanUpdateBinding(TreeGridDataColumnBase dataColumnBase)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridDataColumnBase | dataColumnBase |
Returns
| Type |
|---|
| System.Boolean |
ClearRecycleBin()
Clears the recycle bin. The cell element will be stored for recycling purpose, when the cell element is scrolled out of view. This method clears all the cell elements which are stored for recycling purpose.
Declaration
void ClearRecycleBin()
PrepareViews(TreeGridDataColumnBase)
Method which is used to create and initiate the view for cell.
Declaration
TreeGridCell PrepareViews(TreeGridDataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridDataColumnBase | dataColumn |
Returns
| Type |
|---|
| TreeGridCell |
RefreshDisplayValue(TreeGridDataColumnBase)
Method which is used to refresh the display value of the cell.
Declaration
void RefreshDisplayValue(TreeGridDataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridDataColumnBase | dataColumn |
SetCellStyle(TreeGridDataColumnBase)
Method is used to set the cell style
Declaration
void SetCellStyle(TreeGridDataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridDataColumnBase | dataColumn |
UnloadViews(TreeGridDataColumnBase)
Method which is used for Unloading the view of the cell.(For Recycling Purpose).
Declaration
void UnloadViews(TreeGridDataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridDataColumnBase | dataColumn |
UpdateCellValue(TreeGridDataColumnBase)
Method which is used to update the cell value.
Declaration
void UpdateCellValue(TreeGridDataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridDataColumnBase | dataColumn |
UpdateColumnInfo(TreeGridDataColumnBase)
Method which is used to update the binding information of the cell UIElement.
Declaration
void UpdateColumnInfo(TreeGridDataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridDataColumnBase | dataColumn |