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

RuleStringComparisonAttribute Constructors

Defines a validation rule that demands the target string type property’s value satisfy a specified condition.
Name Parameters Description
RuleStringComparisonAttribute(DefaultContexts, StringComparisonType, String) targetContexts, operatorType, operandValue Initializes a new instance of the RuleStringComparisonAttribute class.
RuleStringComparisonAttribute(StringComparisonType, String) operatorType, operandValue Initializes a new instance of the RuleStringComparisonAttribute class.
RuleStringComparisonAttribute(String, DefaultContexts, StringComparisonType, String, String) id, targetContexts, operatorType, operandValue, messageTemplate Initializes a new instance of the RuleStringComparisonAttribute class.
RuleStringComparisonAttribute(String, DefaultContexts, StringComparisonType, String) id, targetContexts, operatorType, operandValue Initializes a new instance of the RuleStringComparisonAttribute class.
RuleStringComparisonAttribute(String, String, StringComparisonType, String, String) id, targetContextIDs, operatorType, operandValue, messageTemplate Initializes a new instance of the RuleStringComparisonAttribute class.
RuleStringComparisonAttribute(String, String, StringComparisonType, String) id, targetContextIDs, operatorType, operandValue Initializes a new instance of the RuleStringComparisonAttribute class.
See Also