Class
TwoColorScaleValueContext

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 ColorScaleValueContextBase.MinimumColorColorScaleValueContextBase.MaximumColorColorScaleValueContextBase.MinimumValueColorScaleValueContextBase.MaximumValue

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

IRangeValue

The minimum value.

minimumColor

ThemableColor

The color associated with the minimum value.

maximumValue

IRangeValue

The maximum value.

maximumColor

ThemableColor

The color associated with the maximum value.