ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Win.C1Input Namespace / C1DropDownControl Class / PreValidating Event

In This Topic
    PreValidating Event (C1DropDownControl)
    In This Topic
    Programmatic input string validation.
    Syntax
    'Declaration
     
    Public Event PreValidating As PreValidationEventHandler
    public event PreValidationEventHandler 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