Input for WinForms | ComponentOne
C1.Win.Input.Base Namespace / C1TextBoxBase Class / PreValidating Event

In This Topic
    PreValidating Event (C1TextBoxBase)
    In This Topic
    Occurs when programmatic input string validating.
    Public Event PreValidating As EventHandler(Of PreValidationEventArgs)
    public event EventHandler<PreValidationEventArgs> PreValidating
    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.

    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