Skip to main content

Worksheet.Comparers Property

Provides access to default comparers used to sort cell values in ascending and descending order.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core


IComparers Comparers { get; }

Property Value

Type Description

A DevExpress.Spreadsheet.IComparers container for default comparers.


Use the Worksheet.Comparers.Ascending and Worksheet.Comparers.Descending objects as default comparers for sort operations with cell values - for specifying ascending and descending order respectively. The default comparer can be used as a parameter for the Worksheet.Sort method or assigned to the SortField.Comparer property.

See Also