Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.AutoSize

From XE2 API Documentation
Jump to: navigation, search

Delphi

property AutoSize: Boolean read FAutoSize write SetAutoSize default False;

C++

__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

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

Personal tools
Previous Versions
Translations