ActiveReports 13
Validate(Boolean) Method

GrapeCity.ActiveReports.Design.Win Assembly > GrapeCity.ActiveReports.Design.Toolbox Namespace > FlatToolbox Class > Validate Method : Validate(Boolean) Method
If true, the value of the System.Windows.Forms.ContainerControl.AutoValidate property is used to determine if validation should be performed; if false, validation is unconditionally performed.
Verifies the value of the control that is losing focus; conditionally dependent on whether automatic validation is turned on.
Syntax
'Declaration
 
Public Overloads Function Validate( _
   ByVal checkAutoValidate As Boolean _
) As Boolean
public bool Validate( 
   bool checkAutoValidate
)

Parameters

checkAutoValidate
If true, the value of the System.Windows.Forms.ContainerControl.AutoValidate property is used to determine if validation should be performed; if false, validation is unconditionally performed.

Return Value

true if validation is successful; otherwise, false. If called from the System.Windows.Forms.Control.Validating or System.Windows.Forms.Control.Validated event handlers, this method will always return false.
See Also

Reference

FlatToolbox Class
FlatToolbox Members
Overload List