Enumerates the available dialog boxes that can appear when a bad word is found.
Namespace:
C1.Win.C1SpellAssembly: C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)
Syntax
| C# |
|---|
public enum BadWordDialogEnum |
| Visual Basic (Declaration) |
|---|
Public Enumeration BadWordDialogEnum |
Members
| Member name | Description | |
|---|---|---|
| NoDialog |
Indicates no dialog box will appear.
| |
| EnglishDialog |
Indicates the English dialog box will appear.
| |
| SpanishDialog |
Indicates the Spanish dialog box will appear.
| |
| GermanDialog |
Indicates the German dialog box will appear.
| |
| FrenchDialog |
Indicates French dialog box will appear.
| |
| DutchDialog |
Indicates Dutch dialog box will appear.
|
Remarks
Use the members of this enumeration to set the value of the BadWordDialog property.
Examples
The following example uses the BadWordDialogEnum enumeration and the CheckControl(Control, BadWordDialogEnum) method to check a TextBox control's spelling using the Spanish dialog box:
- Visual Basic
Private Sub btnSpellCheck_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSpellCheck.Click C1Spell1.CheckControl(TextBox1, C1.Win.C1Spell.BadWordDialogEnum.SpanishDialog) End Sub |
- C#
privatevoid btnSpellCheck_Click(object sender, EventArgs e) { c1Spell1.CheckControl(textBox1, C1.Win.C1Spell.BadWordDialogEnum.SpanishDialog); } |
For an example using the BadWordDialogEnum enumeration, see Step 1: Create a Customized Main Form.