New to Telerik Document ProcessingStart a free 30-day trial

Abstract base for color scale value contexts that define minimum and maximum values with associated colors for gradient conditional formatting.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public abstract class ColorScaleValueContextBase : RangeValueContextBase

Inheritance: objectRangeValueContextBaseColorScaleValueContextBase

Derived Classes: ThreeColorScaleValueContextTwoColorScaleValueContext

Constructors

Initializes a new ColorScaleValueContextBase, the base for all color scale value contexts.

C#
protected ColorScaleValueContextBase()

Properties

Gets or sets the color applied to cells at the maximum value threshold in the gradient scale.

C#
public ThemableColor MaximumColor { get; set; }

Gets or sets the maximum value threshold for the color scale, which cannot be of type LowestValue.

C#
public IRangeValue MaximumValue { get; set; }

Gets or sets the color applied to cells at the minimum value threshold in the gradient scale.

C#
public ThemableColor MinimumColor { get; set; }

Gets or sets the minimum value threshold for the color scale, which cannot be of type HighestValue.

C#
public IRangeValue MinimumValue { get; set; }