[]
Gets a key that defines the type of cell content.
public virtual object GetCellContentType(GridCellType cellType, GridCellRange range)
| Type | Name | Description |
|---|---|---|
| GridCellType | cellType | Type of the cell. |
| GridCellRange | range | The range. |
| Type | Description |
|---|---|
| object | The returned object will be used as a key to recycle cell content´s |
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.