expressappframework-devexpress-dot-persistent-dot-validation-db476e93.md
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
public enum ValueComparisonType
Public Enum ValueComparisonType
| Name | Description |
|---|---|
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:
These values are used to set the operatorType parameter of the RuleValueComparison attribute’s RuleValueComparisonAttribute constructor.
See Also