Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(FormatConditionComparisonType.Greater)]
[DXCategory("Data")]
[XtraSerializableProperty]
public FormatConditionComparisonType ValueComparison { get; set; }

Property Value

Type Default Description
FormatConditionComparisonType Greater

A value that specifies the comparison operator.

Available values:

Name Description
Greater

The Greater Than operator.

GreaterOrEqual

The Greater Than or Equal To 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