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

RuleStringComparisonProperties.OperatorType Property

Specifies the operator type that must be used when comparing string values.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v24.2.dll

#Declaration

[RulePropertiesIndex(0)]
public StringComparisonType OperatorType { get; set; }

#Property Value

Type Description
StringComparisonType

A StringComparisonType enumeration value which specifies the operator type that must be used when comparing string values.

Available values:

Name Description
Contains

Specifies that the target string property’s value must contain a particular substring.

EndsWith

Specifies that the target string property’s value must end with a particular substring.

Equals

Specifies that the target string property’s value must equal a particular string.

NotEquals

Specifies that the target string property’s value must not equal a particular string.

StartsWith

Specifies that the target string property’s value must start with a particular substring.

See Also