Class ForeColorSortCondition
Represents a sort condition for sorting by texts fore color.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Sorting
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public sealed class ForeColorSortCondition : OrderedSortConditionBase<ThemableColor>, ISortCondition, ITranslatable, ICopyable<ISortCondition>, IWorksheetSortCondition
Constructors
ForeColorSortCondition(Int32, ThemableColor, SortOrder)
Initializes a new instance of the Fore
Declaration
public ForeColorSortCondition(int relativeIndex, ThemableColor color, SortOrder sortOrder)
Parameters
System. Gets the index of the row or column that is key for sorting relative to the sorted range. |
Themable The color. |
Sort The sort order. |
Properties
Color
Gets the color.
Declaration
public ThemableColor Color { get; }
Property Value
Themable The color. |
Comparer
Gets the comparer used for sorting.
Declaration
public override IComparer<SortValue> Comparer { get; }
Property Value
System. The comparer used for sorting. |
Overrides
PropertyDefinition
Gets the property definition of the property which is used for sorting.
Declaration
protected override IPropertyDefinition<ThemableColor> PropertyDefinition { get; }
Property Value
IProperty The property definition of the property which is used for sorting. |
Overrides
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The object to compare with the current object. |
Returns
System. true if the specified System. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
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. The row index. |
System. The column index. |
Returns
System. The value of the specified cell. |