Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight 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)
    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