Skip to main content
.NET Framework 4.5.2+

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

Declaration

public enum ValueComparisonType

Members

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.

Remarks

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ValueComparisonType enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also