ComponentOne CalendarView for WinForms
C1.Win.C1Input Namespace / C1TextBox Class / ValidationError Event

In This Topic
    ValidationError Event
    In This Topic
    Error occurred while parsing or validating the input string.
    Syntax
    'Declaration
     
    
    Public Event ValidationError As ValidationErrorEventHandler
    public event ValidationErrorEventHandler ValidationError
    Event Data

    The event handler receives an argument of type ValidationErrorEventArgs containing data related to this event. The following ValidationErrorEventArgs properties provide information specific to this event.

    PropertyDescription
    Error information.  
    Validation phase on which the error has been detected.  
    The input text that caused the error.  
    If Reason = ErrorReasonEnum.PostValidationError, this is the value that caused the error. Otherwise, this property is null or DBNull.  
    See Also