DataGridTextColumn.

GenerateElement(DataGridCell, object) Method

Summary

Gets a read-only TextBlock element that is bound to the column's Binding property value.
Namespace
Avalonia.Controls
Containing Type
DataGridTextColumn

Syntax

protected override IControl GenerateElement(DataGridCell cell, object dataItem)

Parameters

Name Type Description
cell DataGridCell The cell that will contain the generated element.
dataItem object The data item represented by the row that contains the intended cell.

Return Value

Type Description
IControl A new, read-only TextBlock element that is bound to the column's Binding property value.