Back to Devexpress

TcxCustomGridTableOptionsView.CellAutoHeight Property

vcl-cxgridcustomtableview-dot-tcxcustomgridtableoptionsview.md

latest2.2 KB
Original Source

TcxCustomGridTableOptionsView.CellAutoHeight Property

Specifies if the height of cells automatically adjusts to fit the content.

Declaration

delphi
property CellAutoHeight: Boolean read; write; default False;

Property Value

TypeDefault
BooleanFalse

Remarks

Options include:

|

Value

|

Description

| | --- | --- | |

False (default)

|

A grid Table View calculates the height of data rows according to the height of used in-place editors. The height of text editors depends on the font settings.

| |

True

|

A grid Table View can expand cells vertically to fit multi-line content. If the grid View’s OptionsView.DataRowHeight property is set to a positive value, the CellAutoHeight property value is ignored, and the automatic cell height calculation routines are disabled.

Note that a grid Table View’s OnGetCellHeight event occurs only when the cell height is calculated automatically.

|

Note: The CellAutoHeight property value is ignored for:

The CellAutoHeight property’s default value is False.

See Also

TcxCustomGridTableOptionsBehavior.EditAutoHeight

TcxCustomGridTableOptionsView.CellEndEllipsis

TcxCustomGridTableOptionsView.CellTextMaxLineCount

TcxCustomGridTableOptionsView Class

TcxCustomGridTableOptionsView Members

cxGridCustomTableView Unit