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



In This Topic
    ValidateInput Event (C1TextEditableContentControl)
    In This Topic
    Event fired when the editing is completed. Handle this event to validate the new input.
    Syntax
    'Declaration
     
    
    Public Event ValidateInput As EventHandler(Of ValidateInputEventArgs)
    'Usage
     
    
    Dim instance As C1TextEditableContentControl
    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