ComponentOne Xamarin.iOS Documentation
C1.iOS.Grid Assembly / C1.iOS.Grid Namespace / GridCellFactoryBase Class / GetCellContentType(GridCellType,GridCellRange) Method
Type of the cell.
The range.


In This Topic
    GetCellContentType(GridCellType,GridCellRange) Method
    In This Topic
    Gets a key that defines the type of cell content.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetCellContentType( _
       ByVal cellType As GridCellType, _
       ByVal range As GridCellRange _
    ) As Object
    'Usage
     
    
    Dim instance As GridCellFactoryBase
    Dim cellType As GridCellType
    Dim range As GridCellRange
    Dim value As Object
     
    value = instance.GetCellContentType(cellType, range)
    public virtual object GetCellContentType( 
       GridCellType cellType,
       GridCellRange range
    )

    Parameters

    cellType
    Type of the cell.
    range
    The range.

    Return Value

    The returned object will be used as a key to recycle cell content´s
    Remarks
    If null is returned, the cell will not be recycled, therefore the CreateCellContent(GridCellType,GridCellRange,Object) method will be called for every rendered cell. Notice this will affect the performance negatively.
    See Also