# SpellingCorrectionUIProvider.CorrectionHandler Class

> The CorrectionHandler class provides methods and properties which are necessary to construct the correction handling part of 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.CorrectionHandler Class
- **1491 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/llms-full.txt

---

### Description

The CorrectionHandler class provides methods and properties which are necessary to construct the correction handling part of a [spelling correction user interface](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/llms-full.txt).

### Syntax

```csharp
public sealed class SpellingCorrectionUIProvider.CorrectionHandler : INotifyPropertyChanged
```

```vbnet
Public NotInheritable Class SpellingCorrectionUIProvider.CorrectionHandler
    Implements INotifyPropertyChanged
```

### Examples

The following example includes the is add to dictionary enabled value from a Correction Handler object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Is Add To Dictionary Enabled: {correctionHandler.IsAddToDictionaryEnabled}");
Console.WriteLine("Correction Handler is ready for use.");
```

```vbnet
Console.WriteLine($"Is Add To Dictionary Enabled: {correctionHandler.IsAddToDictionaryEnabled}")
Console.WriteLine("Correction Handler is ready for use.")
```

---

## In This Section

- [SpellingCorrectionUIProvider.CorrectionHandler.AddToDictionary Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/addtodictionary-method/llms-full.txt): Adds the text of the current word to correct to all user dictionaries of the current dictionary collection where the IsEditable property is set to true and the language property corresponds to the TXTextControl.MisspelledWord.Culture or incorrect word's language property. Furthermore the word is removed from all corresponding collections (TXTextControl.MisspelledWordCollection/ IncorrectWordCollection).
- [SpellingCorrectionUIProvider.CorrectionHandler.Change Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/change-method/llms-full.txt): Replaces the current word to correct with a specified word.
- [SpellingCorrectionUIProvider.CorrectionHandler.ChangeAll Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/changeall-method/llms-full.txt): Replaces all words to correct, that have the same text like the current uncorrected word.
- [SpellingCorrectionUIProvider.CorrectionHandler.CheckCorrectedWord Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/checkcorrectedword-method/llms-full.txt): Returns a value whether the specified word was found in one of the current selected suggestion dictionaries or not.
- [SpellingCorrectionUIProvider.CorrectionHandler.Delete Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/delete-method/llms-full.txt): Deletes the current word to correct.
- [SpellingCorrectionUIProvider.CorrectionHandler.Ignore Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/ignore-method/llms-full.txt): Ignores the current misspelled.
- [SpellingCorrectionUIProvider.CorrectionHandler.IgnoreAll Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/ignoreall-method/llms-full.txt): Ignores all words to correct, that have the same text like the current uncorrected word.
- [SpellingCorrectionUIProvider.CorrectionHandler.IsAddToDictionaryEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/isaddtodictionaryenabled-property/llms-full.txt): Gets a value whether the AddToDictionary method is enabled or not.
- [SpellingCorrectionUIProvider.CorrectionHandler.IsChangeAllEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/ischangeallenabled-property/llms-full.txt): Gets a value whether the ChangeAll method is enabled or not.
- [SpellingCorrectionUIProvider.CorrectionHandler.IsChangeEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/ischangeenabled-property/llms-full.txt): Gets a value whether the Change method is enabled or not.
- [SpellingCorrectionUIProvider.CorrectionHandler.IsDeleteEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/isdeleteenabled-property/llms-full.txt): Gets a value whether the Delete method is enabled or not.
- [SpellingCorrectionUIProvider.CorrectionHandler.IsIgnoreAllEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/isignoreallenabled-property/llms-full.txt): Gets a value whether the IgnoreAll method is enabled or not.
- [SpellingCorrectionUIProvider.CorrectionHandler.IsIgnoreEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/isignoreenabled-property/llms-full.txt): Gets a value whether the Ignore method is enabled or not.
- [SpellingCorrectionUIProvider.CorrectionHandler.IsOptionsEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/isoptionsenabled-property/llms-full.txt): Gets a value whether the current SpellingCorrectionUIProvider's mode is set to OptionsSettings or not.
- [SpellingCorrectionUIProvider.CorrectionHandler.IsUndoEditEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/isundoeditenabled-property/llms-full.txt): Gets a value whether the current SpellingCorrectionUIProvider's mode is set to WordToCorrectEditing or not.

---

## Nearby

- **Previous:** [SpellingCorrectionUIProvider Class](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/llms-full.txt)
- **Next:** [SpellingCorrectionUIProvider.CorrectionHandler.AddToDictionary Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/addtodictionary-method/llms-full.txt)
