Back to Devexpress

TcxGridPreview.AutoHeight Property

vcl-cxgridtableview-dot-tcxgridpreview-5f8d624e.md

latest1.1 KB
Original Source

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

TypeDefault
BooleanTrue

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

TcxGridPreview.MaxLineCount

TcxGridPreview Class

TcxGridPreview Members

cxGridTableView Unit