Skip to main content

TdxSpreadSheetCellStyle.WordWrap Property

Specifies if a cell value wraps if it does not fit into the cell boundaries horizontally.

Declaration

property WordWrap: Boolean read; write;

Property Value

Type
Boolean

Remarks

Options include:

Value

Description

False (default)

A value that does not fit into the cell boundaries visually overlaps one or more adjacent empty cells or is truncated at the left border of the first occupied cell. A spreadsheet control ignores all carriage return characters in a cell value.

True

A cell breaks its value into multiple lines if:

  • The cell value consists of individual words delimited by space characters and the value does not fit into the cell horizontally.

  • The cell value includes carriage return characters.

Note

The WordWrap property value automatically changes to:

  • False when you set the ShrinkToFit property to True.

  • True when you call a cell’s SetText procedure to assign a text string with at least one carriage return character.

The WordWrap property’s default value is False.

See Also