IntegerRule Class

Validation rule for integer values with an optional minimum and maximum range.

Definition

Namespace: Common.Wpf.Rules
Assembly: Common.Wpf.Resources (in Common.Wpf.Resources.dll) Version: 2.0.6
C#
public class IntegerRule : RuleBase
Inheritance
Object    ValidationRule    RuleBase    IntegerRule

Constructors

IntegerRuleInitializes a new instance of the IntegerRule class.

Properties

MaxMaximum value. The default is 2,147,483,647.
MinMinimum value. The default is -2,147,483,648.
RqdIndicates if a value is required. The default is .

Methods

ValidatePerforms validation checks on a value.
(Overrides RuleBaseValidate(Object, CultureInfo))

See Also