FormatConditionIconSetIcon.ValueComparison Property

Gets or sets the comparison operator used to define the target range corresponding to the current FormatConditionIconSetIcon object.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(FormatConditionComparisonType.Greater)]
[XtraSerializableProperty]
[DXCategory("Data")]
public FormatConditionComparisonType ValueComparison { get; set; }
<DefaultValue(FormatConditionComparisonType.Greater)>
<XtraSerializableProperty>
<DXCategory("Data")>
Public Property ValueComparison As FormatConditionComparisonType

Property Value

Type Default Description
FormatConditionComparisonType

Greater

A value that specifies the comparison operator.

Remarks

To define the range to which a FormatConditionIconSetIcon object corresponds, use the FormatConditionIconSetIcon.Value and ValueComparison properties.

The FormatConditionIconSetIcon.Value property specifies the left bound of the target range. The type of this value (numeric or percentage) is set by the FormatConditionIconSet.ValueType property. The right bound of the target range is specified by the FormatConditionIconSetIcon.Value property of another FormatConditionIconSetIcon object.

If the ValueComparison property is set to Greater, the current icon corresponds to the range whose values are greater than the FormatConditionIconSetIcon.Value. If you set ValueComparison to GreaterOrEqual, the icon corresponds to the range whose values are greater than or equal to the FormatConditionIconSetIcon.Value.

See Also