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

TcxGridPreview.AutoHeight Property

Determines whether the preview section height varies according to the preview’s text length.

#Declaration

Delphi
property AutoHeight: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

The preview section height can also be specified via the MaxLineCount property value. This property setting overrides the AutoHeight property. Thus, if the MaxLineCount property value is 1, for instance, and the preview section contains several text lines, then only one line will be displayed regardless of the AutoHeight property value.

The default value of the AutoHeight property is True.

See Also