ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / DataGridColumn Class / GetCellEditingContent Method
The row corresponding to the editing cell.

In This Topic
    GetCellEditingContent Method (DataGridColumn)
    In This Topic
    Creates and initialize the visual element that will be used to edit the info of a cell belonging to this column when the cell is in edit mode.
    Syntax
    'Declaration
     
    
    Public MustOverride Function GetCellEditingContent( _
       ByVal row As DataGridRow _
    ) As FrameworkElement
    public abstract FrameworkElement GetCellEditingContent( 
       DataGridRow row
    )

    Parameters

    row
    The row corresponding to the editing cell.

    Return Value

    Visual element used to edit the data of a cell when it is in edit mode.
    Remarks

    The returned element won't be recycled, once the editing is finished the visual element will be discarded. if you need to release resources you can do it in the method EndEdit.

    It is no necessary to set the Source of the binding because the DataContext of the returned element will be set.

    See Also