ComponentOne DataGrid for WPF and Silverlight
GetCellEditingContent Method (DataGridColumn)

C1.Silverlight.DataGrid Namespace > DataGridColumn Class : GetCellEditingContent Method
The row corresponding to the editing cell.
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 System.Windows.FrameworkElement
public abstract System.Windows.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

Reference

DataGridColumn Class
DataGridColumn Members
BeginEdit Method
PrepareCellForEdit Method
CancelCellEdit Method
EndEdit Method