ComponentOne DataGrid for WPF and Silverlight
C1.Silverlight.DataGrid Namespace / DataGridColumn Class / CreateCellContent Method
This parameter might be used to have different cell content depending on the row. In most cases this parameter won't be used

In This Topic
    CreateCellContent Method (DataGridColumn)
    In This Topic
    Creates the visual element that will be used to display the info inside a cell of this column.
    Syntax
    'Declaration
     
    
    Public MustOverride Function CreateCellContent( _
       ByVal row As DataGridRow _
    ) As FrameworkElement
    public abstract FrameworkElement CreateCellContent( 
       DataGridRow row
    )

    Parameters

    row
    This parameter might be used to have different cell content depending on the row. In most cases this parameter won't be used

    Return Value

    Visual element used to display the content of a cell.
    Remarks
    This method is only called if no cell content is found in the shared pool matching the recycling key returned by the method GetCellContentRecyclingKey.
    Example
    return new TextBlock();
    See Also