DataGridTemplateColumn.PrepareCellForEdit Method

Definition

Called when a cell in the column enters editing mode.

protected override object PrepareCellForEdit (Windows.UI.Xaml.FrameworkElement editingElement, Windows.UI.Xaml.RoutedEventArgs editingEventArgs);
override this.PrepareCellForEdit : Windows.UI.Xaml.FrameworkElement * Windows.UI.Xaml.RoutedEventArgs -> obj
Protected Overrides 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

null in all cases.

Applies to