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

Specifies whether end-users can change the section’s sort order.

#Declaration

Delphi
property AllowSort: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

The TcxHeader control allows end-users to specify the sort order of the header’s sections. If the AllowSort property is set to True, then an end-user can change the sort order of an individual section by clicking on it. Otherwise, the sort order is left unchanged. Setting the AllowSort property to False prevents the OnSectionChangingSortOrder and OnSectionChangedSortOrder events from being raised and also resets the sorting options for all the sections within the header (their SortOrder properties are set to soNone).

The default value of the AllowSort property is True.

See Also