An NDoc Documented Class Library

RangeValidator Class

Checks whether the value of an input control is within a specified range of values.

For a list of all members of this type, see RangeValidator Members.

System.Object
   MarshalByRefObject
      Component
         BaseValidator
            BaseCompareValidator
               RangeValidator

public class RangeValidator : BaseCompareValidator

Remarks

The RangeValidator control checks whether the value of an input control falls within the range specified by MinimumValue and MaximumValue. Both of these properties must be provided for the control to run. The range comparison is performed using a specific type, specified by BaseCompareValidator.Type. The range comparison will succeed if the value being compared is greater-than-or-equal-to MinimumValue and less-than-or-equal-to MaximumValue.

Note If the input control's value does not match the type specified by BaseCompareValidator.Type the validation fails.

Requirements

Namespace: Genghis.Windows.Forms Namespace

Assembly: Genghis.dll

See Also

RangeValidator Members | Genghis.Windows.Forms Namespace