# SpellCheckDialog Class

> The SpellCheckDialog class provides the possibility to modify and show the built-in spell check dialog.

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

---

### Description

The SpellCheckDialog class provides the possibility to modify and show the built-in spell check dialog.

### Syntax

```csharp
public sealed class SpellCheckDialog
```

```vbnet
Public NotInheritable Class SpellCheckDialog
```

### Examples

The following example includes the accept button value from a Spell Check Dialog object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Accept Button: {spellCheckDialog.AcceptButton}");
Console.WriteLine("Spell Check Dialog is ready for use.");
```

```vbnet
Console.WriteLine($"Accept Button: {spellCheckDialog.AcceptButton}")
Console.WriteLine("Spell Check Dialog is ready for use.")
```

---

## In This Section

- [SpellCheckDialog.AcceptButton Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/acceptbutton-property/llms-full.txt): Gets or sets the dialog button that is used as the SpellCheckDialog's accept button. The default value is the Ignore Once button.
- [SpellCheckDialog.ChangeButtons Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/changebuttons-property/llms-full.txt): Gets a collection of all dialog buttons that are located to the right of the SpellCheckDialog's suggestions list. 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 are buttons of type Change and ChangeAll.
- [SpellCheckDialog.ChangeInAllTextParts Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/changeinalltextparts-property/llms-full.txt): Gets or sets a value indicating whether the SpellCheckDialog change operation is applied in all text parts (TXTextControl.TextControl.TextParts). The default value is true.
- [SpellCheckDialog.CloseOnFinished Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/closeonfinished-property/llms-full.txt): Gets or sets a value specifying whether the SpellCheckDialog is closed on completing the spell checking. The default value is true.
- [SpellCheckDialog.Font Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/font-property/llms-full.txt): Gets or sets the font for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button. The default is the value of the System.Windows.Forms.Control.DefaultFont property.
- [SpellCheckDialog.HideSelection Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/hideselection-property/llms-full.txt): Gets or sets a value indicating whether the selected text in the TXTextControl.TextControl remains highlighted while the SpellCheckDialog is open. The default value is false.
- [SpellCheckDialog.IgnoreButtons Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/ignorebuttons-property/llms-full.txt): Gets a collection of all dialog buttons that are located to the right of the SpellCheckDialog's preview component. 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 are buttons of type 'Ignore', 'IgnoreAll' and 'AddToDictionary'.
- [SpellCheckDialog.IgnoreInAllTextParts Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/ignoreinalltextparts-property/llms-full.txt): Gets or sets a value indicating whether the SpellCheckDialog ignore operation should be applied in all text parts (TXTextControl.TextControl.TextParts). The default value is true.
- [SpellCheckDialog.Location Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/location-property/llms-full.txt): Returns the point that represents the upper-left corner of the SpellCheckDialog form in screen coordinates.
- [SpellCheckDialog.OptionButtons Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/optionbuttons-property/llms-full.txt): 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.
- [SpellCheckDialog.Preview Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/preview-property/llms-full.txt): Gets the SpellCheckDialog's Preview instance. This property describes and handles attributes of the spell check dialog's preview component.
- [SpellCheckDialog.Show Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/show-method/llms-full.txt): Invokes the built-in dialog box for checking incorrect or misspelled (TXTextControl.TextControl.MisspelledWords) words. The first implementation opens the spell check dialog for checking of the TXSpellChecker.IncorrectWords collection in TXSpell for Windows Forms. To connect the SpellCheckDialog with an object of type TXTextControl.TextControl, the Show method provides the third implementation. At both implementations, the dialog's selected suggestion dictionary is specified through the SuggestionDictionaryComboBox.SuggestionDictionary property. The second and the fourth implementation can be used to invoke the dialog with another suggestion dictionary.
- [SpellCheckDialog.ShowDialogSettings Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/showdialogsettings-property/llms-full.txt): Gets or sets an instance of the ShowDialogSettings class to determine the SpellCheckDialog form's start position and owner.
- [SpellCheckDialog.ShowMessageBoxes Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/showmessageboxes-property/llms-full.txt): Gets or sets a value indicating whether the dialog should invoke built-in message boxes that informs the user that the spell checking was completed or that a chosen word was not found in one of the suggestion dictionaries. The default value is true.
- [SpellCheckDialog.SuggestionDictionaryComboBox Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/suggestiondictionarycombobox-property/llms-full.txt): Gets the SpellCheckDialog's SuggestionDictionaryComboBox instance. This property describes and handles attributes of the spell check dialog's suggestion dictionary combo box.
- [SpellCheckDialog.SuggestionList Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/suggestionlist-property/llms-full.txt): Gets the SpellCheckDialog's SuggestionList instance. This property describes and handles attributes of the spell check dialog's suggestion list.

---

## Nearby

- **Previous:** [ShowDialogSettings.StartPosition Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/showdialogsettings/startposition-property/llms-full.txt)
- **Next:** [SpellCheckDialog.AcceptButton Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/acceptbutton-property/llms-full.txt)
