Input for WinForms | ComponentOne
C1.Win.Input.Validation Namespace / PreValidation Class / Validating Event

In This Topic
    Validating Event (PreValidation)
    In This Topic
    Occurs when programmatic input string validating.
    Syntax
    'Declaration
     
    
    Public Event Validating As EventHandler(Of PreValidationEventArgs)
    public event EventHandler<PreValidationEventArgs> Validating
    Event Data

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

    PropertyDescription
    Error information in case of validation failure. Can be set in event code in PreValidating.  
    PreValidation object that fired the event.  
    Validation result (assigned in the event code in PreValidating). Default: True.  
    The text to validate.  
    See Also