DataGridColumn.

GenerateElement(DataGridCell, object) Method

Summary

When overridden in a derived class, gets a read-only element that is bound to the column's Binding property value.
Namespace
Avalonia.Controls
Containing Type
DataGridColumn

Syntax

protected abstract 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 element that is bound to the column's Binding property value.