Vcl.ComCtrls.THeaderSection.AutoSize
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 | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | THeaderSection |
Description
Indicates whether the header section should size itself to exactly hold its contents.
When AutoSize is true, the header section (and the header control that contains it) automatically resizes to adjust to changes. When AutoSize is false, the header section size is fixed unless changed programmatically.