ComponentOne DataGrid for WPF and Silverlight
C1.WPF.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.

In This Topic
    CancelCellEdit Method (DataGridColumn)
    In This Topic
    Causes the column cell being edited to revert to the specified value.
    Syntax
    'Declaration
     
    
    Public MustOverride Sub CancelCellEdit( _
       ByVal editingElement As FrameworkElement, _
       ByVal uneditedValue As Object _
    ) 
    public abstract void CancelCellEdit( 
       FrameworkElement editingElement,
       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