Skip to main content

TcxHeaderSection.Width Property

Specifies the width of the header section.

Declaration

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