DataGridColumn.PrepareCellForEdit Method (FrameworkElement, RoutedEventArgs)
When overridden in a derived class, sets cell content as needed for editing.
Assembly: PresentationFramework (in PresentationFramework.dll)
abstract PrepareCellForEdit : editingElement:FrameworkElement * editingEventArgs:RoutedEventArgs -> Object override PrepareCellForEdit : editingElement:FrameworkElement * editingEventArgs:RoutedEventArgs -> Object
The element that the column displays for a cell in editing mode.
Information about the user gesture that is causing a cell to enter editing mode.
Return ValueType: System.Object
When returned by a derived class, the unedited cell value. This implementation returns null in all cases.
Derived column types override this method to respond to the user gesture that is indicated by editingEventArgs and to return the current value before editing.
Available since 4.0
Available since 2.0