Class IconSetRule
Displays icons in cells based on numeric value thresholds, categorizing data into 3, 4, or 5 ranges with distinct visual indicators.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class IconSetRule : ConditionalFormattingRule, IRenderCellValue
Constructors
IconSetRule(IconSetValueContextBase)
Initializes a new IconSetRule with a custom icon set value context defining thresholds and icons.
Declaration
public IconSetRule(IconSetValueContextBase values)
Parameters
|
IconSetValueContextBase
values
|
IconSetRule(PresetIconSet, Boolean)
Initializes a new IconSetRule with a preset icon set and optional reversal of icon order.
Declaration
public IconSetRule(PresetIconSet presetIconSet, bool isReversed = false)
Parameters
|
PresetIconSet
presetIconSet
|
|
System.Boolean
isReversed
|
Properties
IsReversed
Gets whether the icon set order is reversed, swapping icons for highest and lowest value ranges.
Declaration
public bool IsReversed { get; }
Property Value
|
System.Boolean
|
ShowIconOnly
Gets or sets whether only the icon is visible, hiding the underlying numeric cell value.
Declaration
public bool ShowIconOnly { get; set; }
Property Value
|
System.Boolean
|
ValueContext
Gets the icon set value context that defines the value thresholds and associated icons for each range.
Declaration
public IconSetValueContextBase ValueContext { get; }
Property Value
|
IconSetValueContextBase
|