ComponentOne Basic Library for WPF and Silverlight
ValidateInput Event (C1TextEditableContentControl)


C1.Silverlight Namespace > C1TextEditableContentControl Class : ValidateInput Event
Event fired when the editing is completed. Handle this event to validate the new input.
Syntax
'Declaration
 
Public Event ValidateInput As System.EventHandler(Of ValidateInputEventArgs)
'Usage
 
Dim instance As C1TextEditableContentControl
Dim handler As System.EventHandler(Of ValidateInputEventArgs)
 
AddHandler instance.ValidateInput, handler
public event System.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