DataGridColumn.GenerateEditingElement(DataGridCell, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets an editing element that is bound to the column's Binding property value.
protected abstract Windows.UI.Xaml.FrameworkElement GenerateEditingElement (Microsoft.Toolkit.Uwp.UI.Controls.DataGridCell cell, object dataItem);
abstract member GenerateEditingElement : Microsoft.Toolkit.Uwp.UI.Controls.DataGridCell * obj -> Windows.UI.Xaml.FrameworkElement
Protected MustOverride Function GenerateEditingElement (cell As DataGridCell, dataItem As Object) As FrameworkElement
Parameters
- cell
- DataGridCell
The cell that will contain the generated element.
- dataItem
- Object
The data item represented by the row that contains the intended cell.
Returns
Windows.UI.Xaml.FrameworkElement
A new editing element that is bound to the column's Binding property value.