Edit

Share via


DataGridColumn.PrepareCellForEdit(FrameworkElement, RoutedEventArgs) Method

Definition

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.

Applies to