Class ValuesSortCondition
Represents a sort condition for sorting values.
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 instance of the ValuesSortCondition class.
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 used for sorting.
Declaration
public override IComparer<SortValue> Comparer { get; }
Property Value
System.Collections.Generic.IComparer<SortValue>
The comparer used for sorting. |
Overrides
PropertyDefinition
Gets the property definition of the property which is 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. |