Class ValuesSortCondition
Sort condition that orders rows or columns by cell values, comparing numbers, text, dates, and other data types.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Sorting
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public sealed class ValuesSortCondition : OrderedSortConditionBase<ICellValue>, ISortCondition, ITranslatable, ICopyable<ISortCondition>
Constructors
ValuesSortCondition(Int32, SortOrder)
Initializes a new sort condition that orders by cell values in the specified direction.
Declaration
public ValuesSortCondition(int relativeIndex, SortOrder sortOrder)
Parameters
|
System.Int32
relativeIndex
Gets the index of the row or column that is key for sorting relative to the sorted range. |
|
SortOrder
sortOrder
The sort order. |
Properties
Comparer
Gets the comparer that orders cell values in ascending or descending sequence.
Declaration
public override IComparer<SortValue> Comparer { get; }
Property Value
|
System.Collections.Generic.IComparer<SortValue>
The comparer used for sorting. |
Overrides
PropertyDefinition
Gets the cell property definition that identifies the cell value used for sorting.
Declaration
protected override IPropertyDefinition<ICellValue> PropertyDefinition { get; }
Property Value
|
IPropertyDefinition<ICellValue>
The property definition of the property which is used for sorting. |