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


C1.Silverlight Namespace > C1ComboBox Class : ValidateInput Event
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 System.EventHandler(Of ValidateInputEventArgs)
'Usage
 
Dim instance As C1ComboBox
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