Vcl.StdCtrls.TStaticText.AutoSize
Delphi
property AutoSize: Boolean read FAutoSize write SetAutoSize default 1;
C++
__property AutoSize = {default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TStaticText |
Description
Determines whether the component is automatically resized to accommodate its text.
Vcl.StdCtrls.TStaticText.AutoSize inherits from Vcl.StdCtrls.TCustomStaticText.AutoSize. All content below this line refers to Vcl.StdCtrls.TCustomStaticText.AutoSize.
Determines whether the component is automatically resized to accommodate its text.
If AutoSize is true, the component is automatically resized— at runtime and design time— whenever the font size or Caption text changes.