ComponentOne DataGrid for WPF and Silverlight
C1.Silverlight.DataGrid Namespace / DataGridColumn Class / UnbindCellContent Method
Visual element which is currently bound to the row.
The row currently bound to the cellContent.

In This Topic
    UnbindCellContent Method (DataGridColumn)
    In This Topic
    Unbinds the content of the cell.
    Syntax
    'Declaration
     
    
    Public Overridable Sub UnbindCellContent( _
       ByVal cellContent As FrameworkElement, _
       ByVal row As DataGridRow _
    ) 
    public virtual void UnbindCellContent( 
       FrameworkElement cellContent,
       DataGridRow row
    )

    Parameters

    cellContent
    Visual element which is currently bound to the row.
    row
    The row currently bound to the cellContent.
    Remarks
    This method is called before the cell content is recycled. If you set the DataContext in the BindCellContent method, you must set it to null here to avoid memory leaking.
    See Also