Class ColorScaleRule
Applies gradient color formatting to cells based on their numeric distance between minimum and maximum values, creating a visual heatmap effect.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class ColorScaleRule : ConditionalFormattingRule, IPropertyValueProvider
Constructors
ColorScaleRule(ColorScaleValueContextBase)
Initializes a new ColorScaleRule with the specified color scale value context defining the range and colors.
Declaration
public ColorScaleRule(ColorScaleValueContextBase values)
Parameters
|
ColorScaleValueContextBase
values
|
Properties
ValueContext
Gets the color scale value context that defines the minimum and maximum values, colors, and optional midpoint settings for gradient calculation.
Declaration
public ColorScaleValueContextBase ValueContext { get; }
Property Value
|
ColorScaleValueContextBase
|