ClassForeColorFilter
Filters rows by matching cell text (foreground) color against a specified color; use for visual grouping in filtered data.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Filtering
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class ForeColorFilter : FilterBase<ThemableColor>, IFilter
Inheritance: objectFilterBase<ThemableColor>ForeColorFilter
Implements:
Inherited Members
Constructors
ForeColorFilter(int, ThemableColor)
Initializes a new instance of the ForeColorFilter class.
Declaration
public ForeColorFilter(int relativeColumnIndex, ThemableColor color)
Parameters
relativeColumnIndex
Index of the relative column.
color
The color.
Properties
Color
Gets the target text color that cells must match to pass the filter.
Declaration
public ThemableColor Color { get; }
Property Value
The fore color.
PropertyDefinition
Gets the cell fore color property definition used to retrieve text color values from cells.
Declaration
protected override IPropertyDefinition<ThemableColor> PropertyDefinition { get; }
Property Value
IPropertyDefinition<ThemableColor>
The property definition.
Overrides
Methods
GetHashCode()
Serves as a hash function for a particular type.
ShouldShowValue(object)
Determines whether the row containing the specified text color matches the filter's target color, accounting for theme color resolution.