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