Skip to main content

TcxCustomHeader.OnSectionChangedSortOrder Event

Occurs after the sort order has been changed for a header section.

Declaration

property OnSectionChangedSortOrder: TcxSectionChangedSortOrderEvent read; write;

Remarks

The OnSectionChangedSortOrder event occurs after a user changes the sort order for one of the header control sections. A user can change sort order for a section by clicking it. Handle this event if you wish to do something after the order has changed.

Parameter

Meaning

Sender

The header control which fired the event

Section

The section whose sort order has changed

ASortOrder

New sort order applied. Can take the following values:

  • soNone - no sort order is applied;

  • soAscending - ascending sort order is enabled;

  • soDescending - descending sort order is enabled.

If you need to do something before the sort order changes, see the OnSectionChangingSortOrder event.

See Also