.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Worksheet.Comparers Property

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

Namespace: DevExpress.Spreadsheet

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


IComparers Comparers { get; }
ReadOnly Property Comparers As IComparers

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