Skip to main content

TcxGridPreview.MaxLineCount Property

The maximum number of text lines displayed within the preview section.

Declaration

property MaxLineCount: Integer read; write; default cxGridPreviewDefaultMaxLineCount;

Property Value

Type Default
Integer cxGridPreviewDefaultMaxLineCount

Remarks

Use the MaxLineCount property to specify the maximum number of text lines displayed within the preview section. This value has a higher priority than the AutoHeight property. In other words, the MaxLineCount property limits the maximum height. For instance, if the MaxLineCount property value is 1 and the preview section contains more than one text line, then only one line will be displayed regardless of the AutoHeight property value.

The default value of the MaxLineCount property is specified by the cxGridPreviewDefaultMaxLineCount global constant.

See Also