DataGridColumn.GenerateElement Method (DataGridCell, Object)
When overridden in a derived class, gets a read-only element that is bound to the Binding property value of the column.
Assembly: PresentationFramework (in PresentationFramework.dll)
protected abstract FrameworkElement GenerateElement( DataGridCell cell, object dataItem )
The cell that will contain the generated element.
The data item that is represented by the row that contains the intended cell.
This method creates the visual tree for the cell content when the cell is in display mode.
Available since 4.0
Available since 2.0