ClassThreeColorScaleValueContext
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
ThreeColorScaleValueContext()
Initializes a new ThreeColorScaleValueContext.
Declaration
[Obsolete("Use the constructor with parameters instead.")]
public ThreeColorScaleValueContext()
ThreeColorScaleValueContext(IRangeValue, ThemableColor, IRangeValue, ThemableColor, IRangeValue, ThemableColor)
Initializes a new ThreeColorScaleValueContext with specified minimum, midpoint, and maximum values and their associated colors.
Declaration
public ThreeColorScaleValueContext(IRangeValue minimumValue, ThemableColor minimumColor, IRangeValue midpointValue, ThemableColor midpointColor, IRangeValue maximumValue, ThemableColor maximumColor)
Parameters
minimumValue
The minimum value.
minimumColor
The color associated with the minimum value.
midpointValue
The midpoint value.
midpointColor
The color associated with the midpoint value.
maximumValue
The maximum value.
maximumColor
The color associated with the maximum value.
Properties
MidpointColor
Gets or sets the color applied to cells at the midpoint value threshold in the three-color gradient.
Declaration
public ThemableColor MidpointColor { get; set; }
Property Value
MidpointValue
Gets or sets the midpoint value threshold between minimum and maximum, supporting Percent, Percentile, Number, and Formula types.
Declaration
public IRangeValue MidpointValue { get; set; }
Property Value