Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetCellStyle.WordWrap Property

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

#Declaration

Delphi
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