When overridden in a derived class, gets a read-only element that is bound to the column's Binding property value.
Assembly: System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)
'Declaration Protected MustOverride Function GenerateElement ( _ cell As DataGridCell, _ dataItem As Object _ ) As FrameworkElement
- Type: System.Windows.Controls.DataGridCell
The cell that will contain the generated element.
- Type: System.Object
The data item represented by the row that contains the intended cell.
This method is called internally when the DataGrid populates the contents of a cell in the column when the cell is not in editing mode. When overridden in a derived class, this method creates and configures a read-only element, and binds the appropriate dependency property to the column's Binding property value.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.