Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.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.

#Related API Members

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