ComponentOne DataGrid for WPF and Silverlight
CancelCellEdit Method (DataGridColumn)

C1.Silverlight.DataGrid Namespace > DataGridColumn Class : CancelCellEdit Method
The element that the column displays for a cell in editing mode.
The previous, unedited value in the cell being edited.
Causes the column cell being edited to revert to the specified value.
Syntax
'Declaration
 
Public MustOverride Sub CancelCellEdit( _
   ByVal editingElement As System.Windows.FrameworkElement, _
   ByVal uneditedValue As System.Object _
) 
public abstract void CancelCellEdit( 
   System.Windows.FrameworkElement editingElement,
   System.object uneditedValue
)

Parameters

editingElement
The element that the column displays for a cell in editing mode.
uneditedValue
The previous, unedited value in the cell being edited.
Remarks
The object passed in the uneditedValue parameter is taken from the method PrepareCellForEdit.
See Also

Reference

DataGridColumn Class
DataGridColumn Members
GetCellEditingContent
BeginEdit
PrepareCellForEdit
EndEdit