TcxHeaderSection.AutoSize Property
In This Article
Indicates whether a header section occupies the maximum possible width within the header control.
#Declaration
Delphi
property AutoSize: Boolean read; write; default False;
#Property Value
Type | Default |
---|---|
Boolean | False |
#Remarks
By default, header sections are created with default width settings (50 pixels). If a section has its AutoSize property set to True, then it occupies the maximum available header area:
The First section’s Auto |
The First section’s Auto |
---|---|
![]() |
![]() |
If the AutoSize property area is set to True for several sections, then all such sections share the available space. The following screenshot shows a header control containing three sections. The AutoSize property value for the First and Third sections is set to True:
Sections with AutoSize set to True are resized simultaneously. The default value of the AutoSize property is False.
See Also