DataControlBase.PreserveSorting Property
In This Article
Gets or sets whether clicking a column header clears the existing sort settings. This is a dependency property.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#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