IncorrectWords Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets a collection of all incorrect words that were detected by the last call of the TXSpellChecker.Check method. The property's value is an object of type IncorrectWordCollection.
Syntax
public IncorrectWordCollection IncorrectWords { get; }Public ReadOnly Property IncorrectWords As IncorrectWordCollectionExamples
The following example iterates through the incorrect words collection and processes each incorrect word.
foreach (TXTextControl.Proofing.IncorrectWord incorrectWord in tXSpellChecker.IncorrectWords)
{
Console.WriteLine(incorrectWord.IsDuplicate);
}For Each incorrectWord As TXTextControl.Proofing.IncorrectWord In tXSpellChecker.IncorrectWords
Console.WriteLine(incorrectWord.IsDuplicate)
NextLimitations
Read only.