# SpellingCorrectionUIProvider.PreviewHandling Property

> Gets an object of type PreviewHandler that provides properties which are necessary to construct an editable preview for a spelling correction user interface.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 6.0
- **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 > SpellingCorrectionUIProvider.PreviewHandling Property
- **350 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/previewhandling-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/previewhandling-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/previewhandling-property/llms-full.txt

---

### Description

Gets an object of type PreviewHandler that provides properties which are necessary to construct an editable preview for a spelling correction user interface.

### Syntax

```csharp
public SpellingCorrectionUIProvider.PreviewHandler PreviewHandling { get; }
```

```vbnet
Public ReadOnly Property PreviewHandling As SpellingCorrectionUIProvider.PreviewHandler
```

### Examples

The following example includes the preview handling value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Preview Handling: {spellingCorrectionUIProvider.PreviewHandling}");
Console.WriteLine("Spelling Correction UIProvider is ready for use.");
```

```vbnet
Console.WriteLine($"Preview Handling: {spellingCorrectionUIProvider.PreviewHandling}")
Console.WriteLine("Spelling Correction UIProvider is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [SpellingCorrectionUIProvider.PreviewHandler.PreviewSentenceBounds Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/previewsentencebounds-property/llms-full.txt)
- **Next:** [SpellingCorrectionUIProvider.StateManager Class](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/llms-full.txt)
