DataGridTextColumnGenerateElement Method
Gets a read-only
TextBlock element that is bound to the column's
Binding property value.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll) Version: 11.3.999
protected override Control GenerateElement(
DataGridCell cell,
Object dataItem
)
Protected Overrides Function GenerateElement (
cell As DataGridCell,
dataItem As Object
) As Control
abstract GenerateElement :
cell : DataGridCell *
dataItem : Object -> Control
override GenerateElement :
cell : DataGridCell *
dataItem : Object -> Control
- cell DataGridCell
- The cell that will contain the generated element.
- dataItem Object
- The data item represented by the row that contains the intended cell.
ControlA new, read-only
TextBlock element that is bound to the column's
Binding property value.