# TXSpell.ButtonType Enumeration

> Determines the type of a DialogButton (Windows Forms or WPF). The enumeration contains the following values:

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **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 > TXSpell.ButtonType Enumeration
- **812 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-buttontype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-buttontype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-buttontype/enumeration/llms-full.txt

---

### Description

Determines the type of a DialogButton ([Windows Forms](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/llms-full.txt) or WPF). The enumeration contains the following values:

### Syntax

```csharp
public enum TXSpell.ButtonType
```

```vbnet
Public Enum TXSpell.ButtonType
```

### Members

| Member | Value | Description |
|---|---|---|
| AddToDictionary | 0 | Specifies a DialogButton that corresponds to the bahavior of an 'Add To Dictionary' spell check dialog button. |
| Change | 1 | Specifies a DialogButton that corresponds to the bahavior of a 'Change' spell check dialog button. |
| ChangeAll | 2 | Specifies a DialogButton that corresponds to the bahavior of a 'Change All' spell check dialog button. |
| Delete | 3 | Specifies a DialogButton that corresponds to the bahavior of a 'Delete' spell check dialog button. |
| Ignore | 4 | Specifies a DialogButton that corresponds to the bahavior of an 'Ignore Once' spell check dialog button. |
| IgnoreAll | 5 | Specifies a DialogButton that corresponds to the bahavior of an 'Ignore All' spell check dialog button. |
| Options | 6 | Specifies a DialogButton that corresponds to the bahavior of an 'Options...' spell check dialog button. |
| UndoEdit | 7 | Specifies a DialogButton that corresponds to the bahavior of an 'Undo Edit' spell check dialog button. |
| User | 8 | Specifies a DialogButton that corresponds to a user defined bahavior. |

### Examples

The following example selects the Add To Dictionary value from the Button Type enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.Proofing.TXSpell.ButtonType value = TXTextControl.Proofing.TXSpell.ButtonType.AddToDictionary;
Console.WriteLine($"Using Button Type: {value}");
```

```vbnet
Dim value As TXTextControl.Proofing.TXSpell.ButtonType = TXTextControl.Proofing.TXSpell.ButtonType.AddToDictionary
Console.WriteLine($"Using Button Type: {value}")
```

---

## Nearby

- **Previous:** [TXSpell.AvailableSynonymLists Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/availablesynonymlists-property/llms-full.txt)
- **Next:** [TXSpell.ChangeType Enumeration](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-changetype/enumeration/llms-full.txt)
