ClassColorScaleRule
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:
cs-api-definition
public class ColorScaleRule : ConditionalFormattingRule
Inheritance: objectConditionalFormattingRuleColorScaleRule
Inherited Members
Constructors
ColorScaleRule(ColorScaleValueContextBase)
Initializes a new ColorScaleRule with the specified color scale value context defining the range and colors.
Declaration
cs-api-definition
public ColorScaleRule(ColorScaleValueContextBase values)
Parameters
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
cs-api-definition
public ColorScaleValueContextBase ValueContext { get; }
Property Value