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


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > DatePickerTextBoxArea Class : ValidateTextCore Method
The text to validate.
true if the editText should be validated as a valid DateTime value and if it is between MinValue and MaxValue; false to determine only if the editText is a valid DateTime value.
Validates that the specified text can be parsed into a valid DateTime value and, optionally, if it is between MinValue and MaxValue.
Syntax
'Declaration
 
Protected Overrides Sub ValidateTextCore( _
   ByVal editText As String, _
   ByVal fullValidation As Boolean _
) 
'Usage
 
Dim instance As DatePickerTextBoxArea
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 DateTime value and if it is between MinValue and MaxValue; false to determine only if the editText is a valid DateTime 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

DatePickerTextBoxArea Class
DatePickerTextBoxArea Members
Base Implementation in ValidateTextCore