Skip to main content
A newer version of this page is available. .

RuleValueComparisonProperties.OperatorType Property

Specifies the operator type to be used for comparison.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v19.1.dll

Declaration

[RulePropertiesIndex(1)]
public ValueComparisonType OperatorType { get; set; }

Property Value

Type Description
ValueComparisonType

A ValueComparisonType enumeration values which specifies the operator type to be used for comparison.

Available values:

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.

See Also