Enumerates the available actions to be taken when an error word is typed.

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

Syntax

C#
public enum TypingErrorActionEnum
Visual Basic (Declaration)
Public Enumeration TypingErrorActionEnum

Members

Member nameDescription
NoAction
Indicates no action will be taken.
Beep
Indicates a beep will sound when the user types an error.
Underline
Indicates a typing error will be underlined.
BeepAndUnderline
Indicates a beep will sound when the user types an error, and the error will be underlined.

Remarks

Use the members of this enumeration to set the value of the TypingErrorAction property.

Examples

The following code underlines misspelled words when an error is typed:

  • Visual Basic
Copy CodeC#
Private Sub C1Spell1_TypingError(ByVal sender As System.Object, ByVal e As C1.Win.C1Spell.TypingErrorEventArgs) Handles C1Spell1.TypingError
    C1Spell1.TypingErrorAction = C1.Win.C1Spell.TypingErrorActionEnum.Underline
End Sub
  • C#
Copy CodeC#
privatevoid c1Spell1_TypingError(object sender, C1.Win.C1Spell.TypingErrorEventArgs e)
{
    c1Spell1.TypingErrorAction = C1.Win.C1Spell.TypingErrorActionEnum.Underline;
}

For an example using the TypingErrorActionEnum enumeration, see Step 3: Provide As-You-Type Spell Checking (Top Panel).

See Also