[]
Spread.NET provides more cell types than Spread COM provided. The cell types in Spread COM are represented in Spread.NET, as described in the following table.
Spread COM Cell Type | Spread.NET Cell Type |
---|---|
CellTypeButton | |
CellTypeCheckBox | |
CellTypeComboBox | |
CellTypeCurrency | |
CellTypeDate | |
CellTypeEdit | |
CellTypeNumber | |
CellTypeOwnerDrawn | No equivalent cell type, but you can create a custom cell type object |
CellTypePercent | |
CellTypePic | |
CellTypePicture | ImageCellType and you can set the BackgroundImage property in any of the editable cell types |
CellTypeScientific | No equivalent cell type |
CellTypeStaticText | |
CellTypeTime |
As shown in the table, some cell types do not have equivalent cell types, but instead can be re-created using properties or classes in Spread.NET.
When Spread.NET imports a Spread COM file, cell types are converted to their equivalent cell types. For Owner-Drawn and Picture cells, the import converts the cells as follows:
Spread COM Cell Type | How it is imported |
---|---|
CellTypeOwnerDrawn | The cell type in Spread COM is ignored. The cell in Spread.NET remains a general cell (default) or whatever cell type was assigned to that cell. |
CellTypePicture | As an empty cell that displays the picture set as the BackgroundImage property. |
Spread.NET also offers the following additional cell types:
Spread.NET Cell Type | Description |
---|---|
A cell that displays a bar code | |
A cell that displays a color picker | |
A general cell, that can accept a wide range of data, and formats it according to the type of data | |
A cell with text that can function as a hyperlink | |
A cell that can handle images when bound to a data set | |
A cell with a set of options, displayed as radio buttons | |
A cell that displays a progress indicator | |
A cell that handles regular expressions | |
A cell that allows multiple colors and fonts | |
A cell that displays a slider control |
For a complete list of cell types, refer to Cell Types.