Vcl.ExtCtrls.TImage.AutoSize

From RAD Studio API Documentation

Delphi

property AutoSize: Boolean read FAutoSize write SetAutoSize default 0;

C++

__property AutoSize = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TImage

Description

Specifies whether the control sizes itself automatically to accommodate its contents. {{#multireplace:Vcl.ExtCtrls.TImage.AutoSize|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.Controls.TControl.AutoSize|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.Controls.TControl.AutoSize|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Specifies whether the control sizes itself automatically to accommodate its contents.

Use AutoSize to specify whether the control sizes itself automatically. When AutoSize is True, the control resizes automatically when its contents change.

By default, AutoSize is False.

See Also