ComponentOne DataGrid for WPF and Silverlight
C1.Silverlight.DataGrid Namespace / DataGridColumn Class / PrepareCellForEdit Method
The element that the column displays for a cell in editing mode.

In This Topic
    PrepareCellForEdit Method (DataGridColumn)
    In This Topic
    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 FrameworkElement _
    ) As Object
    public abstract object PrepareCellForEdit( 
       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