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

TdxSpreadSheetCustomTextBox.AutoSize Property

Specifies if the text box dimensions are adjusted to fit its contents.

#Declaration

Delphi
property AutoSize: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

By default, the comment container‘s text box initially has a width of 130 pixels and a height of 75 pixels. If the wrapped text does not fit the comment text box either horizontally or vertically, it is truncated. To automatically adjust the comment text box dimensions to the content size, set the AutoSize property to True.

The AutoSize Property Value Example
True
False

Note

Unlike comments, text box containers have no size limitations if the AutoSize property is set to False.

The default value of the AutoSize property is False.

See Also