Class FillColorSortCondition
Represents a sort condition for sorting by cell fill color.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Sorting
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public sealed class FillColorSortCondition : OrderedSortConditionBase<IFill>, ISortCondition, ITranslatable, ICopyable<ISortCondition>, IWorksheetSortCondition
Constructors
FillColorSortCondition(Int32, IFill, SortOrder)
Initializes a new instance of the FillColorSortCondition class.
Declaration
public FillColorSortCondition(int relativeIndex, IFill fill, SortOrder sortOrder)
Parameters
System.Int32
relativeIndex
Gets the index of the row or column that is key for sorting relative to the sorted range. |
IFill
fill
The fill. |
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
Fill
PropertyDefinition
Gets the property definition of the property which is used for sorting.
Declaration
protected override IPropertyDefinition<IFill> PropertyDefinition { get; }
Property Value
IPropertyDefinition<IFill>
The property definition of the property which is used for sorting. |
Overrides
Methods
Equals(Object)
Equalses the specified obj.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The obj. |
Returns
System.Boolean
|
Overrides
GetHashCode()
Gets the hash code.
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
GetValue(Cells, Int32, Int32)
Gets the value.
Declaration
public override object GetValue(Cells cells, int rowIndex, int columnIndex)
Parameters
Cells
cells
The cells. |
System.Int32
rowIndex
The row index. |
System.Int32
columnIndex
The column index. |
Returns
System.Object
The value of the specified cell. |