Back to Devexpress

FormatConditionIconSetIcon.ValueComparison Property

windowsforms-devexpress-dot-xtraeditors-dot-formatconditioniconseticon.md

latest3.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
FormatConditionComparisonTypeGreater

A value that specifies the comparison operator.

|

Available values:

NameDescription
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

Value

ValueType

FormatConditionIconSetIcon Class

FormatConditionIconSetIcon Members

DevExpress.XtraEditors Namespace