# SpellCheckDialog.OptionButtons Property

> Gets a collection of all dialog buttons that are located below the SpellCheckDialog's suggestion dictionary combo box. The property's value is an object of type DialogButtonCollection and can be modified by using its methods and properties. The default content of that collection is a button of type Options.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.Windows.Forms.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > SpellCheckDialog.OptionButtons Property
- **488 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/optionbuttons-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/optionbuttons-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/optionbuttons-property/llms-full.txt

---

### Description

Gets a collection of all [dialog buttons](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbutton/llms-full.txt) that are located below the SpellCheckDialog's suggestion dictionary combo box. The property's value is an object of type [DialogButtonCollection](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbuttoncollection/llms-full.txt) and can be modified by using its methods and properties. The default content of that [collection](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbuttoncollection/llms-full.txt) is a [button](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbutton/llms-full.txt) of [type](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-buttontype/enumeration/llms-full.txt) Options.

### Syntax

```csharp
public DialogButtonCollection OptionButtons { get; }
```

```vbnet
Public ReadOnly Property OptionButtons As DialogButtonCollection
```

### Examples

The following example iterates through the option buttons collection and processes each dialog button.

```csharp
foreach (TXTextControl.Proofing.DialogButton dialogButton in spellCheckDialog.OptionButtons)
{
    dialogButton.Text = "Quarterly results";
}
```

```vbnet
For Each dialogButton As TXTextControl.Proofing.DialogButton In spellCheckDialog.OptionButtons
    dialogButton.Text = "Quarterly results"
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [SpellCheckDialog.Location Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/location-property/llms-full.txt)
- **Next:** [SpellCheckDialog.Preview Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/preview-property/llms-full.txt)
