Skip to main content

TcxControlOptionsView.CellTextMaxLineCount Property

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

Declaration

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