C1.WPF Namespace > C1TextEditableContentControl Class : ValidateInput Event |
'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
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.
Property | Description |
---|---|
Input | New text input |
IsValidInput | Set this flag to undo the edits if the input is not valid. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2