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.Width Property

Specifies the width of the header section.

#Declaration

Delphi
property Width: Integer read; write; default 50;

#Property Value

Type Default
Integer 50

#Remarks

The Width property specifies the width of the header section, in pixels. Users may resize a header section causing its Width property to change. Thus you can read the Width property to detect the current width of the relevant header section. Also, Width may be changed when the AutoSize property is True and the section adjusts its size to display a long text label.

The Width property value is limited by the MinWidth and MaxWidth values. You can handle the OnSectionResize and OnSectionTrack events if you want to respond to section width changes.

The default value of the Width property is 50.

See Also