Class ThreeColorScaleValueContext
Defines a three-color gradient scale with minimum, midpoint, and maximum value thresholds and their associated colors for conditional formatting.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class ThreeColorScaleValueContext : ColorScaleValueContextBase
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
|
IRangeValue
minimumValue
The minimum value. |
|
ThemableColor
minimumColor
The color associated with the minimum value. |
|
IRangeValue
midpointValue
The midpoint value. |
|
ThemableColor
midpointColor
The color associated with the midpoint value. |
|
IRangeValue
maximumValue
The maximum value. |
|
ThemableColor
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
|
ThemableColor
|
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
|
IRangeValue
|