TX Spell .NET for Windows Forms

IncorrectWords Property

Property
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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);
}

Limitations

Read only.