FormatConditionIconSet.ValueType Property
Gets or sets the type of threshold values for the current icon set.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
[DefaultValue(FormatConditionValueType.Automatic)]
[XtraSerializableProperty]
[DXCategory("Behavior")]
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 | A numeric value. |
Percent | A percentage value. |
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.