ActiveReports 12
Validate(Boolean) Method

GrapeCity.ActiveReports.Design.Win.v12 Assembly > GrapeCity.ActiveReports.Design.ReportExplorer Namespace > ReportExplorer 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

ReportExplorer Class
ReportExplorer Members
Overload List