Skip to main content

FormatConditionIconSet.ValueType Property

Gets or sets the type of threshold values for the current icon set.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DefaultValue(FormatConditionValueType.Automatic)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public virtual FormatConditionValueType ValueType { get; set; }

Property Value

Type Default Description
FormatConditionValueType Automatic

A value that specifies the type of threshold values for the icon set.

Available values:

Name Description
Number

Cell values are compared with zero.

Percent

Cell values are compared with each other. The minimum cell value is treated as 0%, the maximum value is 100%.

Automatic

A cuttoff/minimum/maximum value is calculated automatically.

Remarks

An icon set allows you to classify a column’s values into several categories separated by threshold values, and assign a specific icon to each category. The threshold value is specified for all icons using the FormatConditionIconSetIcon.Value property.

The ValueType property defines the type of threshold values. Supported values are listed by the FormatConditionValueType enumerator.

If the ValueType property is set to Number or Automatic, the FormatConditionIconSetIcon.Value is regarded as a number. If you choose Percent, the FormatConditionIconSetIcon.Value property specifies a percentage of the difference between the highest and lowest column values.

See Also