Setting this property causes the word that is currently checked to be ignored
and automatically replaces all words in the spell-checking text that are equal to the checked word
with a value. After that, the currently checked word and the value are added to the ChangeAllPair
collection.
Namespace:
C1.Win.C1SpellAssembly: C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)
Syntax
C# |
---|
[BrowsableAttribute(false)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] public string ChangeAllWords { set; } |
Visual Basic (Declaration) |
---|
<BrowsableAttribute(False)> _ <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _ Public WriteOnly Property ChangeAllWords As String |
Examples
The following example uses a button control for the user to click to cause the word that is currently checked to be ignored and automatically replace all words in the spell-checking text that are equal to the checked word with a value:
- Visual Basic

Private Sub btnChangeAll_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChangeAll.Click
If lbSuggestions.SelectedIndex >= 0 Then
C1Spell1.ChangeAllWords = CStr(lbSuggestions.Items(lbSuggestions.SelectedIndex))
Close()
End If
End Sub |
- C#

privatevoid btnChangeAll_Click(object sender, EventArgs e) { if (lbSuggestions.SelectedIndex >= 0) { c1Spell1.ChangeAllWords = (string)lbSuggestions.Items[lbSuggestions.SelectedIndex]; Close(); } } |
For an example using the ChangeAllWords property, see Step 2: Create a Customized Dialog Form.