# TXSpell.IncorrectWords Property

> 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.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TXSpell.Core.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.dll` from the setup
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.Proofing > TXSpell.IncorrectWords Property
- **401 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/incorrectwords-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/incorrectwords-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/incorrectwords-property/llms-full.txt

---

### Description

Gets a collection of all incorrect words that were detected by the last call of the [TXSpell.Check](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/check-method/llms-full.txt) method. The property's value is an object of the type [IncorrectWordCollection](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordcollection/llms-full.txt).

### Syntax

```csharp
public IncorrectWordCollection IncorrectWords { get; }
```

```vbnet
Public ReadOnly Property IncorrectWords As IncorrectWordCollection
```

### Examples

The following example iterates through the incorrect words collection and processes each incorrect word.

```csharp
foreach (TXTextControl.Proofing.IncorrectWord incorrectWord in tXSpell.IncorrectWords)
{
    Console.WriteLine(incorrectWord.IsDuplicate);
}
```

```vbnet
For Each incorrectWord As TXTextControl.Proofing.IncorrectWord In tXSpell.IncorrectWords
    Console.WriteLine(incorrectWord.IsDuplicate)
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TXSpell.IgnoreWordSettings Enumeration](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-ignorewordsettings/enumeration/llms-full.txt)
- **Next:** [TXSpell.Language Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/language-property/llms-full.txt)
