A newer version of this page is available. Switch to the current version.

DataViewBase.ColumnSortClearMode Property

Gets or sets the mode of clearing sorting.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


public ColumnSortClearMode ColumnSortClearMode { get; set; }
Public Property ColumnSortClearMode As ColumnSortClearMode

Property Value

Type Description

The mode of clearing sorting.


Clicking a column's header does not change the sort order if this column allows sorting in one order only. Clicking the header while pressing the Ctrl key clears the column's sorting.

Set the ColumnSortClearMode property to Click to enable/disable sorting by clicking the column's header.

Refer to the Add Sorting topic to learn more.

See Also