# SpellCheckDialogStateManager.NextIncorrectWord Property

> Gets an object of type IncorrectWord that is handled next by the SpellCheckDialog.

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

---

### Description

Gets an object of type [IncorrectWord](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/llms-full.txt) that is handled next by the SpellCheckDialog.

### Syntax

```csharp
public IncorrectWord NextIncorrectWord { get; }
```

```vbnet
Public ReadOnly Property NextIncorrectWord As IncorrectWord
```

### Examples

The following example includes the next incorrect word value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Next Incorrect Word: {spellCheckDialogStateManager.NextIncorrectWord}");
Console.WriteLine("Spell Check Dialog State Manager is ready for use.");
```

```vbnet
Console.WriteLine($"Next Incorrect Word: {spellCheckDialogStateManager.NextIncorrectWord}")
Console.WriteLine("Spell Check Dialog State Manager is ready for use.")
```

### Limitations

Read only.

### Remarks

An exception is thrown, if the SpellCheckDialog is connected to an object of type `TXTextControl.WPF.TextControl`.

---

## Nearby

- **Previous:** [SpellCheckDialogStateManager.NextIFormattedText Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextiformattedtext-property/llms-full.txt)
- **Next:** [SpellCheckDialogStateManager.NextMisspelledWord Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextmisspelledword-property/llms-full.txt)
