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
NuGet Package: DevExpress.Persistent.Base
#Declaration
[RulePropertiesIndex(0)]
public StringComparisonType OperatorType { get; set; }
#Property Value
Type | Description |
---|---|
String |
A String |
Available values:
Name | Description |
---|---|
Contains | Specifies that the target string property’s value must contain a particular substring. |
Ends |
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. |
Not |
Specifies that the target string property’s value must not equal a particular string. |
Starts |
Specifies that the target string property’s value must start with a particular substring. |