ClassThreeIconSetValueContext
Configures icon set conditional formatting with three threshold ranges, assigning distinct icons to cells based on which range their value falls into.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class ThreeIconSetValueContext : IconSetValueContextBase
Inheritance: objectRangeValueContextBaseIconSetValueContextBaseThreeIconSetValueContext
Constructors
ThreeIconSetValueContext()
Initializes a new ThreeIconSetValueContext with default settings.
Declaration
[Obsolete("Use the constructor with parameters instead.")]
public ThreeIconSetValueContext()
ThreeIconSetValueContext(IconSetRange, IconDefinition, IconSetRange, IconDefinition, IconDefinition)
Initializes a new ThreeIconSetValueContext with the specified threshold ranges and associated icons.
Declaration
public ThreeIconSetValueContext(IconSetRange range1, IconDefinition icon1, IconSetRange range2, IconDefinition icon2, IconDefinition icon3)
Parameters
range1
The first range.
icon1
The icon that is associated with the first range.
range2
The second range.
icon2
The icon that is associated with the second range.
icon3
The icon that is associated with the third range.
Properties
Icon1
Gets or sets the icon displayed for cells whose values fall within the first range.
Declaration
public IconDefinition Icon1 { get; set; }
Property Value
Icon2
Gets or sets the icon displayed for cells whose values fall within the second range.
Declaration
public IconDefinition Icon2 { get; set; }
Property Value
Icon3
Gets or sets the icon displayed for cells whose values fall within the third range.
Declaration
public IconDefinition Icon3 { get; set; }
Property Value
Range1
Gets or sets the first threshold range, defining the lower boundary and operator for icon assignment.
Range2
Gets or sets the second threshold range, which automatically calculates the third range's inverse condition.
Range3
Gets the third threshold range, automatically derived from Range2 to cover remaining values.