Class TreeGridDataColumnBase
Represents the base class for data columns in the SfTreeGrid control.
Inheritance
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public abstract class TreeGridDataColumnBase : Object
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 |
|---|
| System.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 |
|---|
| System.Int32 |
FormattedCellValue
Gets the formatted cell value of the column element associated with the DataColumn.
Declaration
public string FormattedCellValue { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|
| System.Object |
RowIndex
Gets or sets the index of the row in the SfTreeGrid control.
Declaration
public int RowIndex { get; }
Property Value
| Type |
|---|
| System.Int32 |
TreeGridColumn
Gets or sets the TreeGridColumn associated with the DataColumn.
Declaration
public TreeGridColumn TreeGridColumn { get; }
Property Value
| Type |
|---|
| TreeGridColumn |
Methods
OnInitializeColumnElement(Object, Boolean)
Prepares the Column element based on the Visible column
Declaration
protected abstract TreeGridCell OnInitializeColumnElement(object dataContext, bool IsInEdit)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | dataContext | |
| System.Boolean | IsInEdit |
Returns
| Type |
|---|
| TreeGridCell |
RefreshCellValue()
Refreshes the cell value.
Declaration
public abstract void RefreshCellValue()
UpdateColumn(Object, Boolean)
Updates the column element of a TreeGridDataColumnBase object.
Declaration
public abstract void UpdateColumn(object rowData, bool updateBinding = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | rowData | |
| System.Boolean | updateBinding |