# IncorrectWord Class

> The IncorrectWord class represents an incorrect word in a text. It is inherited from the abstract class SpelledWord.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **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
- **Inherits:** `TXTextControl.Proofing.SpelledWord`
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.Proofing > IncorrectWord Class
- **801 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/llms-full.txt

---

### Description

The IncorrectWord class represents an incorrect word in a text. It is inherited from the abstract class [SpelledWord](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/llms-full.txt).

### Syntax

```csharp
public sealed class IncorrectWord : SpelledWord
```

```vbnet
Public NotInheritable Class IncorrectWord
    Inherits SpelledWord
```

### Examples

The following example creates an Incorrect Word instance for a document-processing operation. The created object is then available to the surrounding document workflow.

```csharp
TXTextControl.Proofing.IncorrectWord incorrectWord = new();
Console.WriteLine("Incorrect Word is ready for use.");
```

```vbnet
Dim incorrectWord As New TXTextControl.Proofing.IncorrectWord()
Console.WriteLine("Incorrect Word is ready for use.")
```

---

## In This Section

- [IncorrectWord.IsDuplicate Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/isduplicate-property/llms-full.txt): Gets a value indicating whether the spelled word is declared as incorrect, because the previous word has the same text.
- [IncorrectWord.Language Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/language-property/llms-full.txt): Gets a value indicating the language the incorrect word was spelled. If no specific language was defined, the property returns null.

---

## Nearby

- **Previous:** [HyphenationListCollection.Remove Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/remove-method/llms-full.txt)
- **Next:** [IncorrectWord.IsDuplicate Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/isduplicate-property/llms-full.txt)
