DataGridNumericUpDownColumn.

PrepareCellForEdit(FrameworkElement, RoutedEventArgs) Method

Summary

Called when a cell has just switched to edit mode.

Syntax

protected override object PrepareCellForEdit(FrameworkElement editingElement, RoutedEventArgs editingEventArgs)

Parameters

Name Type Description
editingElement FrameworkElement A reference to element returned by GenerateEditingElement.
editingEventArgs RoutedEventArgs The event args of the input event that caused the cell to go into edit mode. May be null.

Return Value

Type Description
object The unedited value of the cell.