Fired when a correct word is typed after the CheckTyping method is invoked.
Namespace:
C1.Win.C1SpellAssembly: C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)
Syntax
| C# |
|---|
public event TypingOKEventHandler TypingOK |
| Visual Basic (Declaration) |
|---|
Public Event TypingOK As TypingOKEventHandler |
Examples
The following code makes a Panel control green color when the user types a correct word:
- Visual Basic
Private Sub C1Spell1_TypingOK(ByVal sender As System.Object, ByVal e As C1.Win.C1Spell.TypingOKEventArgs) Handles C1Spell1.TypingOK
' typed something right? Use green color.
Panel1.BackColor = Color.Green
End Sub |
- C#
privatevoid c1Spell1_TypingOK(object sender, C1.Win.C1Spell.TypingOKEventArgs e) { // typed something right? Use green color. pictureBox1.BackColor = Color.Green; } |
For an example using the TypingOK event, see Step 3: Provide As-You-Type Spell Checking (Top Panel).