# SpellCheckDialogStateManager.NextIFormattedText Property

> Gets the next object of type TXTextControl.IFormattedText that contains the next misspelled word (TXTextControl.MisspelledWord).

- **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.NextIFormattedText Property
- **367 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextiformattedtext-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextiformattedtext-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextiformattedtext-property/llms-full.txt

---

### Description

Gets the next object of type `TXTextControl.IFormattedText` that contains the next misspelled word (`TXTextControl.MisspelledWord`).

### Syntax

```csharp
public object NextIFormattedText { get; }
```

```vbnet
Public ReadOnly Property NextIFormattedText As Object
```

### Examples

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

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

```vbnet
Console.WriteLine($"Next IFormatted Text: {spellCheckDialogStateManager.NextIFormattedText}")
Console.WriteLine("Spell Check Dialog State Manager is ready for use.")
```

### Limitations

Read only.

### Remarks

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

---

## Nearby

- **Previous:** [SpellCheckDialogStateManager.Close Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/close-method/llms-full.txt)
- **Next:** [SpellCheckDialogStateManager.NextIncorrectWord Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextincorrectword-property/llms-full.txt)
