Skip to main content

TcxCustomHeader.OnSectionResize Event

Occurs when a user resizes a section.

Declaration

property OnSectionResize: TcxSectionNotifyEvent read; write;

Remarks

The OnSectionResize event occurs when a user resizes a header control section by clicking and dragging one of the section’s edges. Maximum and minimum section width settings can be accessed by the section’s MaxWidth and MinWidth properties. To prevent a section from being resized, set its AllowResize property to False.

Parameter Meaning
HeaderControl The header control, where section resizing occurs.
Section The resized section.

If a specific section is resized, then the other sections are moved within the header control. If you want to react during section resizing, handle the OnSectionTrack event.

See Also