ComponentOne DataGrid for WPF and Silverlight
PrepareCellForEdit Method (DataGridColumn)

C1.WPF.DataGrid Namespace > DataGridColumn Class : PrepareCellForEdit Method
The element that the column displays for a cell in editing mode.
When overridden in a derived class, called when a cell in the column enters edit mode.
Syntax
'Declaration
 
Public MustOverride Function PrepareCellForEdit( _
   ByVal editingElement As System.Windows.FrameworkElement _
) As System.Object
public abstract System.object PrepareCellForEdit( 
   System.Windows.FrameworkElement editingElement
)

Parameters

editingElement
The element that the column displays for a cell in editing mode.

Return Value

The returned object will be passed in the CancelCellEdit method as a parameter in order to set the original value in the editing element when user cancel the edit.
See Also

Reference

DataGridColumn Class
DataGridColumn Members
GetCellEditingContent
BeginEdit
CancelCellEdit
EndEdit