Back to Devexpress

TcxCustomEdit.AutoSize Property

vcl-cxedit-dot-tcxcustomedit-e8cda703.md

latest1.1 KB
Original Source

TcxCustomEdit.AutoSize Property

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

Declaration

delphi
property AutoSize: Boolean read; write; default True;

Property Value

TypeDefaultDescription
BooleanTrue

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

TcxCustomEdit Class

TcxCustomEdit Members

cxEdit Unit