ClassFillColorSortCondition
Sort condition that orders cells by their background fill color, grouping matching fills together.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Sorting
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public sealed class FillColorSortCondition : OrderedSortConditionBase<IFill>, ISortCondition
Inheritance: objectSortConditionBase<IFill>OrderedSortConditionBase<IFill>FillColorSortCondition
Implements:
Inherited Members
Constructors
FillColorSortCondition(int, IFill, SortOrder)
Initializes a new instance of the FillColorSortCondition class with a target fill color for sorting.
Properties
Comparer
Gets the comparer that prioritizes cells matching the target fill color.
Fill
Gets the target fill color used to identify matching cells for priority sorting.
PropertyDefinition
Gets the cell fill property definition used for color comparison.
Declaration
protected override IPropertyDefinition<IFill> PropertyDefinition { get; }
Property Value
The property definition of the property which is used for sorting.
Overrides
Methods
Equals(object)
Determines whether the specified object is a FillColorSortCondition with the same fill color and settings.
GetHashCode()
Computes a hash code combining the fill color and base sort condition hash.
GetValue(Cells, int, int)
Extracts the fill color from the specified cell, resolving theme colors to local RGB values.