Input for WinForms | ComponentOne
C1.Win.Input.Base Namespace / IDropDownEditorBase Interface / PreValidating Event

In This Topic
    PreValidating Event (IDropDownEditorBase)
    In This Topic
    Programmatic input string validation.
    Syntax
    'Declaration
     
    
    Event PreValidating As EventHandler(Of PreValidationEventArgs)
    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