Visual Basic (Declaration) | |
---|---|
Protected Overrides NotOverridable Function GenerateEditingElement( _ ByVal cell As DataGridCell, _ ByVal dataItem As Object _ ) As FrameworkElement |
C# | |
---|---|
protected override FrameworkElement GenerateEditingElement( DataGridCell cell, object dataItem ) |
Parameters
- cell
- The cell that will contain the generated element.
- dataItem
- The data item represented by the row that contains the intended cell.
Return Value
A new editing element that is bound to the column's System.Windows.Controls.DataGridBoundColumn.Binding property value.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family