Class
IconSetRule

Displays icons in cells based on numeric value thresholds, categorizing data into 3, 4, or 5 ranges with distinct visual indicators.

Definition

Constructors

IconSetRule(IconSetValueContextBase)

Initializes a new IconSetRule with a custom icon set value context defining thresholds and icons.

Declaration

cs-api-definition
public IconSetRule(IconSetValueContextBase values)

Parameters

values

IconSetValueContextBase

IconSetRule(PresetIconSet, bool)

Initializes a new IconSetRule with a preset icon set and optional reversal of icon order.

Declaration

cs-api-definition
public IconSetRule(PresetIconSet presetIconSet, bool isReversed = false)

Parameters

presetIconSet

PresetIconSet

isReversed

bool

Properties

IsReversed

Gets whether the icon set order is reversed, swapping icons for highest and lowest value ranges.

Declaration

cs-api-definition
public bool IsReversed { get; }

Property Value

bool

ShowIconOnly

Gets or sets whether only the icon is visible, hiding the underlying numeric cell value.

Declaration

cs-api-definition
public bool ShowIconOnly { get; set; }

Property Value

bool

ValueContext

Gets the icon set value context that defines the value thresholds and associated icons for each range.

Declaration

cs-api-definition
public IconSetValueContextBase ValueContext { get; }

Property Value

IconSetValueContextBase