Skip to main content

TcxTreeListPreview.MaxLineCount Property

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

Declaration

property MaxLineCount: Integer read; write; default 3;

Property Value

Type Default Description
Integer 3

The maximum line count in the node preview section.

Remarks

Use the MaxLineCount property together 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.

Default Value

The MaxLineCount property’s default value is cxTreeListDefPreviewMaxLineCount.

See Also