Back to Devexpress

ValueComparisonType Enum

expressappframework-devexpress-dot-persistent-dot-validation-db476e93.md

latest2.1 KB
Original Source

ValueComparisonType Enum

Contains values which specify operator types to be used when comparing propery values via the RuleValueComparisonAttribute.

Namespace : DevExpress.Persistent.Validation

Assembly : DevExpress.Persistent.Base.v25.2.dll

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
public enum ValueComparisonType
vb
Public Enum ValueComparisonType

Members

NameDescription
Equals

Specifies that the target property’s value must equal a particular value.

| | GreaterThan |

Specifies that the target property’s value must be greater then a particular value.

| | GreaterThanOrEqual |

Specifies that the target property’s value must be greater then or equal to a particular value.

| | LessThan |

Specifies that the target property’s value must be less than a particular value.

| | LessThanOrEqual |

Specifies that the target property’s value must be less than or equal to a particular value.

| | NotEquals |

Specifies that the target property’s value must not equal a particular value.

|

The following properties accept/return ValueComparisonType values:

Remarks

These values are used to set the operatorType parameter of the RuleValueComparison attribute’s RuleValueComparisonAttribute constructor.

See Also

DevExpress.Persistent.Validation Namespace