Summary
Called when a cell has just switched to edit mode.
- Namespace
- MahApps
.Metro .Controls - Containing Type
- Data
Grid Numeric Up Down Column
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. |