An NDoc Documented Class Library

FormValidator Class

Performs validation on the form.

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

System.Object
   MarshalByRefObject
      Component
         FormValidator

public class FormValidator : Component, ISupportInitialize

Remarks

Form-level validation is performed by calling Validate on each validation control on the form. IsValid returns whether the most recent Validation was a success or not.

FormValidator offers two forms of access to the FormValidator for a specified form. The first, a static accessor, GetFormValidator, provides runtime access to either a default FormValidator component always assigned to form, or the FormValidator component you have used on your form. The second is the FormValidator component itself, which allows you to set form-wide validation properties, including ValidateOnLoad.

Requirements

Namespace: Genghis.Windows.Forms Namespace

Assembly: Genghis.dll

See Also

FormValidator Members | Genghis.Windows.Forms Namespace