Sets or returns the BadWordDialogEnum object that represents whether the bad-word dialog
will be used and the language that should be used to display it.
Namespace:
C1.Win.C1SpellAssembly: C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute(BadWordDialogEnum.EnglishDialog)] [BrowsableAttribute(true)] public BadWordDialogEnum BadWordDialog { get; set; } |
Visual Basic (Declaration) |
---|
<DefaultValueAttribute(BadWordDialogEnum.EnglishDialog)> _ <BrowsableAttribute(True)> _ Public Property BadWordDialog As BadWordDialogEnum |
Remarks
The default value is EnglishDialog.
Examples
To use the Spanish language when the bad-word dialog box is displayed, use the following code:
- Visual Basic

Private Sub btnSpellCheck_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSpellCheck.Click C1Spell1.CheckControl(TextBox1) Me.C1Spell1.BadWordDialog = C1.Win.C1Spell.BadWordDialogEnum.SpanishDialog End Sub |
- C#

privatevoid btnSpellCheck_Click(object sender, EventArgs e) { c1Spell1.CheckControl(textBox1); this.C1Spell1.BadWordDialog = C1.Win.C1Spell.BadWordDialogEnum.SpanishDialog; } |