MAUI | ComponentOne
C1.Maui.Grid Assembly / C1.Maui.Grid Namespace / GridWrapCellFactory Class / GetCellContentType Method
Type of the cell.
The range.
In This Topic
    GetCellContentType Method (GridWrapCellFactory)
    In This Topic
    Gets a key that defines the type of cell content.
    Syntax
    public override 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 method will be called for every rendered cell. Notice this will affect the performance negatively.
    See Also