Fired when a typing error is detected after the CheckTyping method is invoked.

Namespace:  C1.Win.C1Spell
Assembly:  C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)

Syntax

C#
public event TypingErrorEventHandler TypingError
Visual Basic (Declaration)
Public Event TypingError As TypingErrorEventHandler

Examples

The following code makes a Panel control red color when the user types an incorrect word:

  • Visual Basic
Copy CodeC#
Private Sub C1Spell1_TypingError(ByVal sender As System.Object, ByVal e As C1.Win.C1Spell.TypingErrorEventArgs) Handles C1Spell1.TypingError
    ' show red light to indicate an error was detected
    Panel1.BackColor = Color.Red
End Sub
  • C#
Copy CodeC#
privatevoid c1Spell1_TypingError(object sender, C1.Win.C1Spell.TypingErrorEventArgs e)
{
    // show red light to indicate an error was detectedthis.panel1.BackColor = Color.Red;
}

See Also