Class TreeGridDataColumnBase
Represents the base class for data columns in the SfTreeGrid control.
Inherited Members
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public abstract class TreeGridDataColumnBase
Constructors
TreeGridDataColumnBase()
Declaration
protected TreeGridDataColumnBase()
Properties
CellValue
Gets or sets the cell value of the column element associated with the DataColumn.
Declaration
public object? CellValue { get; }
Property Value
| Type |
|---|
| object |
ColumnElement
Gets or sets the TreeGridCell associated with the DataColumn.
Declaration
public TreeGridCell? ColumnElement { get; }
Property Value
| Type |
|---|
| TreeGridCell |
ColumnIndex
Gets or sets the index of the column in the SfTreeGrid control.
Declaration
public int ColumnIndex { get; }
Property Value
| Type |
|---|
| int |
ColumnSpan
Gets or sets the column span of the column element.
Declaration
protected int ColumnSpan { get; set; }
Property Value
| Type | Description |
|---|---|
| int | A value that determines the column span of the TreeGridDataColumn. |
FormattedCellValue
Gets the formatted cell value of the column element associated with the DataColumn.
Declaration
public string? FormattedCellValue { get; }
Property Value
| Type | Description |
|---|---|
| string | The formatted cell value of the DataColumn. |
Renderer
Gets or sets the ITreeGridCellRenderer associated with the DataColumn.
Declaration
public ITreeGridCellRenderer? Renderer { get; }
Property Value
| Type |
|---|
| ITreeGridCellRenderer |
RowData
Gets the row data associated with the DataRow of the column element.
Declaration
public object? RowData { get; }
Property Value
| Type |
|---|
| object |
RowIndex
Gets or sets the index of the row in the SfTreeGrid control.
Declaration
public int RowIndex { get; }
Property Value
| Type |
|---|
| int |
RowSpan
Gets or sets the row span of the column element.
Declaration
protected int RowSpan { get; set; }
Property Value
| Type | Description |
|---|---|
| int | A value that determines the row span of the TreeGridDataColumn. |
TreeGridColumn
Gets or sets the TreeGridColumn associated with the DataColumn.
Declaration
public TreeGridColumn? TreeGridColumn { get; }
Property Value
| Type |
|---|
| TreeGridColumn |
Methods
OnInitializeColumnElement(object, bool)
Prepares the Column element based on the Visible column
Declaration
protected abstract TreeGridCell? OnInitializeColumnElement(object dataContext, bool IsInEdit)
Parameters
| Type | Name | Description |
|---|---|---|
| object | dataContext | |
| bool | IsInEdit |
Returns
| Type |
|---|
| TreeGridCell |
RefreshCellValue()
Refreshes the cell value.
Declaration
public abstract void RefreshCellValue()
UpdateColumn(object?, bool)
Updates the column element of a TreeGridDataColumnBase object.
Declaration
public abstract void UpdateColumn(object? rowData, bool updateBinding = false)
Parameters
| Type | Name | Description |
|---|---|---|
| object | rowData | |
| bool | updateBinding |