Skip to main content

TcxCustomHeader.AllowSort Property

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

Declaration

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