Version

Validation Class

Encapsulates the return value from the Validate methods. Also used by the ValidationErrorEventArgs class to return information about a validation.
Syntax
'Declaration
 
Public Class Validation 
public class Validation 
Remarks

A Validation instance corresponds to a validation operation which can involve either one embeddable editor, or one or more controls. The Results collection contains a ValidationResult instance for each control that was validated, and the Errors collection contains a subset of the Results collection, with each member of the Errors collection representing a validation that failed. The Trigger property describes the event which initiated the validation session; in the case where the ValidationTrigger property returns 'OnValidating' or 'OnPropertyValueChanged', it is implied that the validation involved only one control/editor. The IsValid property returns a boolean value which descibes whether the validation succeeded or failed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also