TX Spell .NET for Windows Forms

IncorrectWords Property

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

Description

Gets a collection of all incorrect words that were detected by the last call of the TXSpell.Check method. The property's value is an object of the 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 tXSpell.IncorrectWords)
{
    Console.WriteLine(incorrectWord.IsDuplicate);
}

Limitations

Read only.