# SpellingCorrectionUIProvider.CorrectionHandler.ChangeAll Method

> Replaces all words to correct, that have the same text like the current uncorrected word.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Method
- **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
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > SpellingCorrectionUIProvider.CorrectionHandler.ChangeAll Method
- **468 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/changeall-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/changeall-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/changeall-method/llms-full.txt

---

### Description

Replaces all words to correct, that have the same text like the [current uncorrected word](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/currentwordtocorrect-property/llms-full.txt).

### Syntax

```csharp
public void ChangeAll(string correctedWord);
```

```vbnet
Public Sub ChangeAll(correctedWord As String)
```

### Parameters

| Parameter | Description |
|---|---|
| correctedWord | Specifies the corrected text. The text of the current word to correct is replaced with this text. |

### Examples

The following example changes all for the correction handler. The created object is then available to the surrounding document workflow.

```csharp
correctionHandler.ChangeAll("Quarterly report");
Console.WriteLine("Correction Handler is ready for use.");
```

```vbnet
correctionHandler.ChangeAll("Quarterly report")
Console.WriteLine("Correction Handler is ready for use.")
```

### Remarks

This method is only enabled if the [SpellingCorrectionUIProvider's mode](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/mode-property/llms-full.txt) is set to [SuggestionsCreated](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-spellingcorrectionmode/enumeration/llms-full.txt) or [WordToCorrectEditing](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-spellingcorrectionmode/enumeration/llms-full.txt).

---

## Nearby

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