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.ShrinkToFit Property

Specifies if a cell value shrinks to fit into the cell’s boundaries horizontally.

#Declaration

Delphi
property ShrinkToFit: Boolean read; write;

#Property Value

Type
Boolean

#Remarks

Set this property to True to disable word wrap and automatically reduce the display size of a value that does not fit into a cell. This setting only visually shrinks a value and does affect the cell style’s font settings accessible via the Font property. Set the ShrinkToFit property back to False to restore the cell value’s original appearance.

The default ShrinkToFit property value is False.

See Also