Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxHeaderSection.AutoSize Property

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 AutoSize property is False The First section’s AutoSize property is True

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