New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class TwoColorScaleValueContext : ColorScaleValueContextBase

Inheritance: objectRangeValueContextBaseColorScaleValueContextBaseTwoColorScaleValueContext

Inherited Members ColorScaleValueContextBase.MinimumColorColorScaleValueContextBase.MaximumColorColorScaleValueContextBase.MinimumValueColorScaleValueContextBase.MaximumValue

Constructors

Initializes a new TwoColorScaleValueContext with specified minimum and maximum values and their associated colors.

C#
public TwoColorScaleValueContext(IRangeValue minimumValue, ThemableColor minimumColor, IRangeValue maximumValue, ThemableColor maximumColor)
Parameters:minimumValueIRangeValue

The minimum value.

minimumColorThemableColor

The color associated with the minimum value.

maximumValueIRangeValue

The maximum value.

maximumColorThemableColor

The color associated with the maximum value.