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

In This Topic
    PreValidating Event (C1MaskedTextBox)
    In This Topic
    Occurs when programmatic input string validating.
    Syntax
    'Declaration
     
    
    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.

    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