# DialogButtonCollection Class

> An instance of the DialogButtonCollection class contains all objects of type DialogButton that represent the dialog buttons of the built-in SpellCheckDialog. It is inherited from the abstract class System.Collections.CollectionBase and implements the System.Collections.IEnumerable and System.Collections.IEnumerator interfaces. For a list of properties, methods and events of these classes and interfaces see the .NET Framework reference.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.WPF.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.WPF.dll` from the setup
- **Inherits:** `System.Collections.CollectionBase`
- **Implements:** `System.Collections.IEnumerable`, `System.Collections.IEnumerator`
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.WPF.Proofing > DialogButtonCollection Class
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/#description)
- [Syntax](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/#syntax)
- [Examples](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/#examples)
- [Members](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/#members)

---

## In This Section

- [DialogButtonCollection.Add Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/add-method/llms.txt): Adds an object of type DialogButton to the collection.
- [DialogButtonCollection.AddRange Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/addrange-method/llms.txt): Adds a collection of DialogButtons to the collection.
- [DialogButtonCollection.Item Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/item-method/llms.txt): Gets a DialogButton from the collection. This property is the indexer for the DialogButtonCollection class.
- [DialogButtonCollection.Remove Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/remove-method/llms.txt): Removes an object of type DialogButton from the collection.

---

## Nearby

- **Previous:** [DialogButton.Type Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/type-property/llms.txt)
- **Next:** [DialogButtonCollection.Add Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbuttoncollection/add-method/llms.txt)
