Skip to main content

TcxTreeListPreview.MaxLineCount Property

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

Declaration

property MaxLineCount: Integer read; write; default 3;

Property Value

Type Default
Integer 3

Remarks

Use this property in conjunction with the AutoHeight property to limit the number of text lines that are simultaneously displayed within the preview section.

If the MaxLineCount property is set to 0, the preview section’s height is automatically adjusted to fully display its text, as if the AutoHeight property is enabled.

The default value of the MaxLineCount property is cxTreeListDefPreviewMaxLineCount.

See Also