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

Declaration

public enum ValueComparisonType
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 then a particular value.

LessThanOrEqual

Specifies that the target property's value must be less then 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.

See Also