New to Telerik Document ProcessingStart a free 30-day trial

Applies gradient color formatting to cells based on their numeric distance between minimum and maximum values, creating a visual heatmap effect.

Definition

Constructors

Initializes a new ColorScaleRule with the specified color scale value context defining the range and colors.

C#
public ColorScaleRule(ColorScaleValueContextBase values)
Parameters:valuesColorScaleValueContextBase

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; }