Input for WinForms | ComponentOne
C1.Win.Input Namespace / C1TextBox Class / ValidationError Event

In This Topic
    ValidationError Event (C1TextBox)
    In This Topic
    Occurs when parsing or validating the input string fails.
    Syntax
    'Declaration
     
    
    Public Event ValidationError As EventHandler(Of ValidationErrorEventArgs)
    public event EventHandler<ValidationErrorEventArgs> 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