Class TwoColorScaleValueContext
Defines a two-color gradient scale with minimum 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 TwoColorScaleValueContext : ColorScaleValueContextBase
Constructors
TwoColorScaleValueContext()
Initializes a new TwoColorScaleValueContext.
Declaration
[Obsolete("Use the constructor with parameters instead.")]
public TwoColorScaleValueContext()
TwoColorScaleValueContext(IRangeValue, ThemableColor, IRangeValue, ThemableColor)
Initializes a new TwoColorScaleValueContext with specified minimum and maximum values and their associated colors.
Declaration
public TwoColorScaleValueContext(IRangeValue minimumValue, ThemableColor minimumColor, IRangeValue maximumValue, ThemableColor maximumColor)
Parameters
|
IRangeValue
minimumValue
The minimum value. |
|
ThemableColor
minimumColor
The color associated with the minimum value. |
|
IRangeValue
maximumValue
The maximum value. |
|
ThemableColor
maximumColor
The color associated with the maximum value. |