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

TcxCustomHeader.OnSectionResize Event

In This Article

Occurs when a user resizes a section.

#Declaration

Delphi
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