Xceed Grid for WinForms v4.3 Documentation
ValidateText(String,Boolean) Method


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > TextBoxArea Class > ValidateText Method : ValidateText(String,Boolean) Method
The text to validate.
true if the editText should be validated as a valid value; false otherwise.
Validates that the specified text can be parsed into a valid value and raises the ValidatingText event.
Syntax
'Declaration
 
Protected Friend Overloads Sub ValidateText( _
   ByVal editText As String, _
   ByVal fullValidation As Boolean _
) 
'Usage
 
Dim instance As TextBoxArea
Dim editText As String
Dim fullValidation As Boolean
 
instance.ValidateText(editText, fullValidation)
protected internal void ValidateText( 
   string editText,
   bool fullValidation
)

Parameters

editText
The text to validate.
fullValidation
true if the editText should be validated as a valid value; false otherwise.
Remarks

The ValidatingText event will only be raised in the case where editText passes the predefined validation process in ValidateTextCore.

Requirements

Target Platforms: 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

Reference

TextBoxArea Class
TextBoxArea Members
Overload List