# IncorrectWordChangingEventArgs.CorrectedText Property

> Gets the complete text including the replaced incorrect words with the corrected words.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 3.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 > IncorrectWordChangingEventArgs.CorrectedText Property
- **362 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/correctedtext-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/correctedtext-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/correctedtext-property/llms-full.txt

---

### Description

Gets the complete text including the replaced [incorrect words](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectword/llms-full.txt) with the [corrected words](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/correctedword-property/llms-full.txt).

### Syntax

```csharp
public string CorrectedText { get; }
```

```vbnet
Public ReadOnly Property CorrectedText As String
```

### Examples

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

```csharp
Console.WriteLine($"Corrected Text: {incorrectWordChangingEventArgs.CorrectedText}");
Console.WriteLine("Incorrect Word Changing Event Args is ready for use.");
```

```vbnet
Console.WriteLine($"Corrected Text: {incorrectWordChangingEventArgs.CorrectedText}")
Console.WriteLine("Incorrect Word Changing Event Args is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [IncorrectWordChangingEventArgs.Cancel Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/cancel-property/llms-full.txt)
- **Next:** [IncorrectWordChangingEventArgs.CorrectedWord Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/correctedword-property/llms-full.txt)
