Skip to main content

TcxCustomEdit.AutoSize Property

Specifies if the editor automatically adjusts its size to display content in full.

Declaration

property AutoSize: Boolean read; write; default True;

Property Value

Type Default Description
Boolean True

True if the editor automatically adjusts its size according to content; otherwise, False.

Remarks

The majority of TcxCustomEdit descendants automatically adjust their height according to content size if the AutoSize property is set to True. For example, TcxImage, TcxLabel, TcxDBImage, and TcxDBLabel editor adjust both their width and height when content size changes. Refer to individual editor class descriptions for details.

Default Value

The AutoSize property’s default value is True.

See Also