InterfaceISortCondition
Interface
Defines a condition for sorting rows or columns in a worksheet range, specifying which cell property to compare and how to order the results.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Sorting
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
cs-api-definition
public interface ISortCondition
Properties
Comparer
Gets the comparer that defines the ordering logic for this sort condition.
RelativeIndex
Gets the zero-based offset within the sort range that identifies the row or column containing values to compare.
Declaration
cs-api-definition
int RelativeIndex { get; }
Property Value
The index of the row or column that is key for sorting relative to the sorted range.
Methods
GetValue(Cells, int, int)
Extracts the sort-relevant value from the specified cell for comparison during sorting.