Skip to main content

TdxSpreadSheetCellState Enum

Enumerates the possible states of cell objects within a Table View worksheet.

Declaration

TdxSpreadSheetCellState = (
    csLocked,
    csHidden,
    csShrinkToFit,
    csWordWrap
);

Members

Name
csLocked
csHidden
csShrinkToFit
csWordWrap

Remarks

Cell states include:

Value

Description

csLocked

The cell object’s content cannot be modified in any way, provided that the worksheet containing that cell is protected as well. To lock or unlock a cell object, use its Style.Locked property.

csHidden

A cell object appears blank while actually storing a value, which can be useful for a formula calculation. To hide or display a cell object, use its Style.Hidden property.

csShrinkToFit

The cell object’s value fits into a cell, regardless of its size. If there is enough space within the cell, this state has no visual effect. To enable or disable the shrink to fit functionality, use the cell object’s Style.ShrinkToFit property. The csShrinkToFit and csWordWrap cell states are incompatible.

csWordWrap

The cell object’s value is wrapped if it does not fit the cell’s width. To enable or disable the word wrapping functionality, use the cell object’s Style.WordWrap property. The csWordWrap and csShrinkToFit cell states are incompatible.

See Also