[]
        
(Showing Draft Content)

C1.WPF.Grid.GridSkeletonLoadingCellFactory.GetCellContentType

GetCellContentType Method

GetCellContentType(GridCellType, GridCellRange)

Gets a key that defines the type of cell content.

Declaration
public override object GetCellContentType(GridCellType cellType, GridCellRange range)
Parameters
Type Name Description
GridCellType cellType

Type of the cell.

GridCellRange range

The range.

Returns
Type Description
object

The returned object will be used as a key to recycle cell content´s

Overrides
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.