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
Initializes a new instance of the FillColorSortCondition class with a target fill color for sorting.
Properties
Gets the comparer that prioritizes cells matching the target fill color.
public override IComparer<SortValue> Comparer { get; }
The comparer used for sorting.
Overrides:
Gets the target fill color used to identify matching cells for priority sorting.
public IFill Fill { get; }
The fill.
Gets the cell fill property definition used for color comparison.
protected override IPropertyDefinition<IFill> PropertyDefinition { get; }
The property definition of the property which is used for sorting.
Overrides:
Methods
Computes a hash code combining the fill color and base sort condition hash.
Extracts the fill color from the specified cell, resolving theme colors to local RGB values.