.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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

Declaration

public enum ValueComparisonType
Public Enum ValueComparisonType
public enum ValueComparisonType
Public Enum ValueComparisonType
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