ClassFourIconSetValueContext
Configures icon set conditional formatting with four 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 FourIconSetValueContext : IconSetValueContextBase
Inheritance: objectRangeValueContextBaseIconSetValueContextBaseFourIconSetValueContext
Constructors
FourIconSetValueContext()
Initializes a new FourIconSetValueContext with default settings.
Declaration
[Obsolete("Use the constructor with parameters instead.")]
public FourIconSetValueContext()
FourIconSetValueContext(IconSetRange, IconDefinition, IconSetRange, IconDefinition, IconSetRange, IconDefinition, IconDefinition)
Initializes a new FourIconSetValueContext with the specified threshold ranges and associated icons.
Declaration
public FourIconSetValueContext(IconSetRange range1, IconDefinition icon1, IconSetRange range2, IconDefinition icon2, IconSetRange range3, IconDefinition icon3, IconDefinition icon4)
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.
range3
The third range.
icon3
The icon that is associated with the third range.
icon4
The icon that is associated with the fourth 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
Icon4
Gets or sets the icon displayed for cells whose values fall within the fourth range.
Declaration
public IconDefinition Icon4 { 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, defining the next boundary and operator for icon assignment.
Range3
Gets or sets the third threshold range, which automatically calculates the fourth range's inverse condition.
Range4
Gets the fourth threshold range, automatically derived from Range3 to cover remaining values.