Version

ValidatingEventArgs Constructor

Creates a new instance of the ValidatingEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal entity As Object, _
   ByVal validationSettings As ValidationSettings, _
   ByVal value As Object, _
   ByVal isValid As Boolean, _
   ByVal validationTrigger As ValidationTrigger, _
   ByVal status As ValidationStatus _
)
public ValidatingEventArgs( 
   object entity,
   ValidationSettings validationSettings,
   object value,
   bool isValid,
   ValidationTrigger validationTrigger,
   ValidationStatus status
)

Parameters

entity
The control or Editor whose value is being validated.
validationSettings
The ValidationSettings instance with which the validation session is associated.
value
The value being validated.
isValid
Boolean which specifies whether the value passes validation.
validationTrigger
The ValidationTrigger constant which identifies the trigger for the validation session.
status
The ValidationStatusconstant which describes whether the validation failed and if so, why it 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