# TXSpell.ChangeType Enumeration

> Determines how an object of type TXTextControl.MisspelledWord or IncorrectWord is changed by a SpellCheckDialog or spell check menu item click operation. The enumeration contains the following values:

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **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 > TXSpell.ChangeType Enumeration
- **705 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-changetype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-changetype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-changetype/enumeration/llms-full.txt

---

### Description

Determines how an object of type `TXTextControl.MisspelledWord` or [IncorrectWord](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectword/llms-full.txt) is changed by a SpellCheckDialog or spell check [menu item](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/menuitem/llms-full.txt) click operation. The enumeration contains the following values:

### Syntax

```csharp
public enum TXSpell.ChangeType
```

```vbnet
Public Enum TXSpell.ChangeType
```

### Members

| Member | Value | Description |
|---|---|---|
| Delete | 0 | The misspelled word is deleted. If the misspelled word is an object of type [IncorrectWord](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectword/llms-full.txt) the [Start](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spelledword/start-property/llms-full.txt) and [Length](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spelledword/length-property/llms-full.txt) properties of the [IncorrectWord](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/incorrectword-property/llms-full.txt) are specified to the index and length of the corresponding text that would be removed. |
| Ignore | 1 | The misspelled word is ignored. |
| Replace | 2 | The misspelled word is replaced by another ([MisspelledWordChangingEventArgs.CorrectedWord](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/correctedword-property/llms-full.txt) / [IncorrectWordChangingEventArgs.CorrectedWord](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/correctedword-property/llms-full.txt)). |

### Examples

The following example selects the Delete value from the Change Type enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.Proofing.TXSpell.ChangeType value = TXTextControl.Proofing.TXSpell.ChangeType.Delete;
Console.WriteLine($"Using Change Type: {value}");
```

```vbnet
Dim value As TXTextControl.Proofing.TXSpell.ChangeType = TXTextControl.Proofing.TXSpell.ChangeType.Delete
Console.WriteLine($"Using Change Type: {value}")
```

---

## Nearby

- **Previous:** [TXSpell.ButtonType Enumeration](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-buttontype/enumeration/llms-full.txt)
- **Next:** [TXSpell.Check Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/check-method/llms-full.txt)
