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

TcxControlOptionsView.CellTextMaxLineCount Property

Determines the maximum number of text lines for cells when in CellAutoHeight mode.

#Declaration

Delphi
property CellTextMaxLineCount: Integer read; write; default 0;

#Property Value

Type Default
Integer 0

#Remarks

If the CellAutoHeight property is set to True, the cell’s text lines and its height are calculated automatically based on the text size. In this case, you can limit the number of text lines via the CellTextMaxLineCount property.

If the CellTextMaxLineCount property is 0, the cell height is calculated to accommodate its contents.

If the CellAutoHeight property is set to False, the CellTextMaxLineCount property has no effect.

The default value of the CellTextMaxLineCount property is 0.

See Also