ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1ComboBox Class / ValidateInput Event



In This Topic
    ValidateInput Event (C1ComboBox)
    In This Topic
    Event fired when new text is added to an editable C1ComboBox. Catch this event to validate the new input.
    Syntax
    'Declaration
     
    
    Public Event ValidateInput As EventHandler(Of ValidateInputEventArgs)
    'Usage
     
    
    Dim instance As C1ComboBox
    Dim handler As EventHandler(Of ValidateInputEventArgs)
     
    AddHandler instance.ValidateInput, handler
    public event EventHandler<ValidateInputEventArgs> ValidateInput
    public:
    event EventHandler<ValidateInputEventArgs^>^ ValidateInput
    Event Data

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

    PropertyDescription
    New text input  
    Set this flag to undo the edits if the input is not valid.  
    See Also