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

TcxTreeListPreview.MaxLineCount Property

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

#Declaration

Delphi
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