Skip to main content
Row

Worksheet.Comparers Property

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

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

IComparers Comparers { get; }

Property Value

Type Description
DevExpress.Spreadsheet.IComparers

A DevExpress.Spreadsheet.IComparers container for default comparers.

Remarks

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