ClassTwoColorScaleValueContext
Class
Defines a two-color gradient scale with minimum 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:
cs-api-definition
public class TwoColorScaleValueContext : ColorScaleValueContextBase
Inheritance: objectRangeValueContextBaseColorScaleValueContextBaseTwoColorScaleValueContext
Inherited Members
Constructors
TwoColorScaleValueContext()
Initializes a new TwoColorScaleValueContext.
Declaration
cs-api-definition
[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
cs-api-definition
public TwoColorScaleValueContext(IRangeValue minimumValue, ThemableColor minimumColor, IRangeValue maximumValue, ThemableColor maximumColor)
Parameters
minimumValue
The minimum value.
minimumColor
The color associated with the minimum value.
maximumValue
The maximum value.
maximumColor
The color associated with the maximum value.