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

RuleRangeAttribute Constructors

Defines a validation rule that demands the target property’s value be within the specified value range (including the range’s end points).
Name Parameters Description
RuleRangeAttribute(DefaultContexts, Object, Object) targetContexts, minimumValue, maximumValue Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(Object, Object) minimumValue, maximumValue Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(String, DefaultContexts, Object, Object, String) id, targetContexts, minimumValue, maximumValue, messageTemplate Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(String, DefaultContexts, Object, Object) id, targetContexts, minimumValue, maximumValue Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(String, DefaultContexts, String, String, ParametersMode) id, targetContexts, minimumValue, maximumValue, mode Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(String, DefaultContexts, String, String, String, ParametersMode) id, targetContexts, minimumValue, maximumValue, messageTemplate, mode Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(String, String, Object, Object, String) id, targetContextIDs, minimumValue, maximumValue, messageTemplate Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(String, String, Object, Object) id, targetContextIDs, minimumValue, maximumValue Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(String, String, String, String, ParametersMode) id, targetContextIDs, minimumValue, maximumValue, mode Initializes a new instance of the RuleRangeAttribute class.
RuleRangeAttribute(String, String, String, String, String, ParametersMode) id, targetContextIDs, minimumValue, maximumValue, messageTemplate, mode Initializes a new instance of the RuleRangeAttribute class.
See Also