# TextControl.SpellCheckDialog Method

> Invokes the built-in dialog box for correcting misspelled words. The dialog steps through all misspelled words in the current document. It begins with the main text following by all headers, footers and textframes. This dialog is only available when a spell checking component has been connected with the SpellChecker property.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 17.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextControl.SpellCheckDialog Method
- **563 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/spellcheckdialog-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/spellcheckdialog-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/spellcheckdialog-method/llms-full.txt

---

### Description

Invokes the built-in dialog box for correcting misspelled words. The dialog steps through all misspelled words in the current document. It begins with the main text following by all headers, footers and textframes. This dialog is only available when a spell checking component has been connected with the [SpellChecker](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/spellchecker-property/llms-full.txt) property.

### Syntax

#### SpellCheckDialog()

Invokes the built-in dialog box for correcting misspelled words.

```csharp
public void SpellCheckDialog();
```

```vbnet
Public Sub SpellCheckDialog()
```

#### SpellCheckDialog(object)

Invokes the built-in dialog box for correcting misspelled words using the specified dictionary for making suggestions.

```csharp
public void SpellCheckDialog(object suggestionDictionary);
```

```vbnet
Public Sub SpellCheckDialog(suggestionDictionary As Object)
```

| Parameter | Description |
|---|---|
| suggestionDictionary | Specifies the dictionary used for making suggestions. This parameter is only useful, if more than one dictionary has been added to the spellchecker. |

### Examples

The following example opens the spell check dialog for the text control. The created object is then available to the surrounding document workflow.

```csharp
textControl.SpellCheckDialog("Approved");
Console.WriteLine("Text Control is ready for use.");
```

```vbnet
textControl.SpellCheckDialog("Approved")
Console.WriteLine("Text Control is ready for use.")
```

---

## Nearby

- **Previous:** [TextControl.SpellCheckContextMenuStrip Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/spellcheckcontextmenustrip-property/llms-full.txt)
- **Next:** [TextControl.SpellChecker Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/spellchecker-property/llms-full.txt)
