# SpellingCorrectionUIProvider.PreviewHandler Class

> The PreviewHandler class provides properties which are necessary to construct an editable preview for a spelling correction user interface.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 6.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.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
- **Implements:** `System.ComponentModel.INotifyPropertyChanged`
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > SpellingCorrectionUIProvider.PreviewHandler Class
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/#description)
- [Syntax](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/#syntax)
- [Examples](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/#examples)
- [Members](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/#members)

---

## In This Section

- [SpellingCorrectionUIProvider.PreviewHandler.IsPreviewSentenceBoundsEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/ispreviewsentenceboundsenabled-property/llms.txt): Gets a value whether the PreviewSentenceBounds property is enabled to provide the sentence bounds for the current word to correct.
- [SpellingCorrectionUIProvider.PreviewHandler.PreviewSentenceBounds Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/previewsentencebounds-property/llms.txt): Gets a two values integer array that represents the start position and length of the sentence where the current word to correct is located. This property is redetermined on every change of the CurrentWordToCorrect property.

---

## Nearby

- **Previous:** [SpellingCorrectionUIProvider.CorrectionHandling Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/correctionhandling-property/llms.txt)
- **Next:** [SpellingCorrectionUIProvider.PreviewHandler.IsPreviewSentenceBoundsEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-previewhandler/ispreviewsentenceboundsenabled-property/llms.txt)
