Defines a three-color gradient scale with minimum, midpoint, and maximum value thresholds and their associated colors for conditional formatting.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class ThreeColorScaleValueContext : ColorScaleValueContextBase
Inheritance: objectRangeValueContextBaseColorScaleValueContextBaseThreeColorScaleValueContext
Inherited Members
Constructors
Initializes a new ThreeColorScaleValueContext with specified minimum, midpoint, and maximum values and their associated colors.
public ThreeColorScaleValueContext(IRangeValue minimumValue, ThemableColor minimumColor, IRangeValue midpointValue, ThemableColor midpointColor, IRangeValue maximumValue, ThemableColor maximumColor)
The minimum value.
minimumColorThemableColorThe color associated with the minimum value.
midpointValueIRangeValueThe midpoint value.
midpointColorThemableColorThe color associated with the midpoint value.
maximumValueIRangeValueThe maximum value.
maximumColorThemableColorThe color associated with the maximum value.
Properties
Gets or sets the color applied to cells at the midpoint value threshold in the three-color gradient.
public ThemableColor MidpointColor { get; set; }
Gets or sets the midpoint value threshold between minimum and maximum, supporting Percent, Percentile, Number, and Formula types.
public IRangeValue MidpointValue { get; set; }