The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.PreserveSorting Property

Gets or sets whether clicking a column header clears the existing sort settings. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

public bool PreserveSorting { get; set; }
Public Property PreserveSorting As Boolean

Property Value

Type Description
Boolean

true, to preserve sorting by other columns when clicking a column header; otherwise, false.

Remarks

If the PreserveSorting property is set to true, clicking a column's header doesn't clear sorting by other columns. If the PreserveSorting property is set to false, hold the SHIFT key when clicking a column's header to preserve the existing sort settings.

To learn more, see Sorting.

See Also