Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Grid Assembly / C1.Xamarin.Forms.Grid Namespace / GridCellFactoryBase Class / CreateCellContent Method
Type of the cell.
The range.
Type of the cell content.


In This Topic
    CreateCellContent Method (GridCellFactoryBase)
    In This Topic
    Creates the content of the cell.
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateCellContent( _
       ByVal cellType As GridCellType, _
       ByVal range As GridCellRange, _
       ByVal cellContentType As Object _
    ) As Xamarin.Forms.View
    'Usage
     
    
    Dim instance As GridCellFactoryBase
    Dim cellType As GridCellType
    Dim range As GridCellRange
    Dim cellContentType As Object
    Dim value As Xamarin.Forms.View
     
    value = instance.CreateCellContent(cellType, range, cellContentType)
    public virtual Xamarin.Forms.View CreateCellContent( 
       GridCellType cellType,
       GridCellRange range,
       object cellContentType
    )

    Parameters

    cellType
    Type of the cell.
    range
    The range.
    cellContentType
    Type of the cell content.
    Remarks
    The actual data is set in the BindCellContent method.
    See Also