Xceed Grid for WinForms v4.3 Documentation
ValidateTextCore Method (NumericTextBoxArea)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > NumericTextBoxArea Class : ValidateTextCore Method
The text to validate.
true if the editText should be validated as a valid numerical value, is between MinValue and MaxValue, and if it has a valid number of Decimals; false to determine only if the editText is a valid numerical value.
Validates that the specified text can be parsed into a valid numerical value and, optionally, if it is between MinValue and MaxValue, and if it has a valid number of Decimals.
Syntax
'Declaration
 
Protected Overrides Sub ValidateTextCore( _
   ByVal editText As String, _
   ByVal fullValidation As Boolean _
) 
'Usage
 
Dim instance As NumericTextBoxArea
Dim editText As String
Dim fullValidation As Boolean
 
instance.ValidateTextCore(editText, fullValidation)
protected override void ValidateTextCore( 
   string editText,
   bool fullValidation
)

Parameters

editText
The text to validate.
fullValidation
true if the editText should be validated as a valid numerical value, is between MinValue and MaxValue, and if it has a valid number of Decimals; false to determine only if the editText is a valid numerical value.
Remarks

When overriding ValidateTextCore in a derived class, if the editText fails the validation process, an exception should be thrown.

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

NumericTextBoxArea Class
NumericTextBoxArea Members
Base Implementation in ValidateTextCore