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

RuleValueComparisonAttribute Constructors

Defines a validation rule that demands the target property’s value satisfy a specified condition.
Name Parameters Description
RuleValueComparisonAttribute(DefaultContexts, ValueComparisonType, Object) targetContexts, operatorType, rightOperand Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(ValueComparisonType, Object) operatorType, rightOperand Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(String, DefaultContexts, ValueComparisonType, Object, String) id, targetContexts, operatorType, rightOperand, messageTemplate Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(String, DefaultContexts, ValueComparisonType, Object) id, targetContexts, operatorType, rightOperand Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(String, DefaultContexts, ValueComparisonType, String, ParametersMode) id, targetContexts, operatorType, rightOperand, mode Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(String, DefaultContexts, ValueComparisonType, String, String, ParametersMode) id, targetContexts, operatorType, rightOperand, messageTemplate, mode Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(String, String, ValueComparisonType, Object, String) id, targetContextIDs, operatorType, rightOperand, messageTemplate Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(String, String, ValueComparisonType, Object) id, targetContextIDs, operatorType, rightOperand Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(String, String, ValueComparisonType, String, ParametersMode) id, targetContextIDs, operatorType, rightOperand, mode Initializes a new instance of the RuleValueComparisonAttribute class.
RuleValueComparisonAttribute(String, String, ValueComparisonType, String, String, ParametersMode) id, targetContextIDs, operatorType, rightOperand, messageTemplate, mode Initializes a new instance of the RuleValueComparisonAttribute class.
See Also