DataGridColumn.PrepareCellForEdit(FrameworkElement, RoutedEventArgs) 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, called when a cell in the column enters editing mode.
protected abstract object PrepareCellForEdit (Windows.UI.Xaml.FrameworkElement editingElement, Windows.UI.Xaml.RoutedEventArgs editingEventArgs);
abstract member PrepareCellForEdit : Windows.UI.Xaml.FrameworkElement * Windows.UI.Xaml.RoutedEventArgs -> obj
Protected MustOverride Function PrepareCellForEdit (editingElement As FrameworkElement, editingEventArgs As RoutedEventArgs) As Object
Parameters
- editingElement
- Windows.UI.Xaml.FrameworkElement
The element that the column displays for a cell in editing mode.
- editingEventArgs
- Windows.UI.Xaml.RoutedEventArgs
Information about the user gesture that is causing a cell to enter editing mode.
Returns
The unedited value.