constants SortOnClickEnum

Specifies the action that control takes when user clicks the column's header. The SortOnClick Property specifies whether the control sorts a column when its caption has been clicked.

NameValueDescription
exNoSort0 The column is not sorted when user clicks the column's header.
exDefaultSort-1 The control sorts the column when user clicks the column's header.
exUserSort1 The control displays the sort icons, but it doesn't sort the column.