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


public FormatConditionComparisonType ValueComparison { get; set; }

Property Value

Type Default Description
FormatConditionComparisonType Greater

A value that specifies the comparison operator.

Available values:

Name Description

The Greater Than operator.


The Greater Than or Equal To operator.


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