# SpellCheckDialog Class

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

- **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
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.WPF.Proofing > SpellCheckDialog Class
- **1875 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/llms-full.txt

---

### Description

The SpellCheckDialog class provides a method 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-wpf/reference/txtextcontrol-wpf-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-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/changebuttons-property/llms-full.txt): Gets a collection of all dialog buttons that are located to the right of the SpellCheckDialog's suggestion 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-wpf/reference/txtextcontrol-wpf-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.WPF.TextControl.TextParts). The default value is true.
- [SpellCheckDialog.CloseOnFinished Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-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.FontFamily Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontfamily-property/llms-full.txt): Gets or sets the font family for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button.
- [SpellCheckDialog.FontSize Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontsize-property/llms-full.txt): Gets or sets the font size for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button.
- [SpellCheckDialog.FontStyle Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontstyle-property/llms-full.txt): Gets or sets the font style for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button.
- [SpellCheckDialog.FontWeight Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontweight-property/llms-full.txt): Gets or sets the font weight for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button.
- [SpellCheckDialog.HideSelection Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/hideselection-property/llms-full.txt): Gets or sets a value indicating whether the selected text in the TXTextControl.WPF.TextControl remains highlighted while the SpellCheckDialog is open. The default value is false.
- [SpellCheckDialog.IgnoreButtons Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-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-wpf/reference/txtextcontrol-wpf-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.WPF.TextControl.TextParts). The default value is true.
- [SpellCheckDialog.Location Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/location-property/llms-full.txt): Returns the point that represents the upper-left corner of the SpellCheckDialog window in screen coordinates.
- [SpellCheckDialog.OptionButtons Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-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-wpf/reference/txtextcontrol-wpf-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-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/show-method/llms-full.txt): Invokes the built-in dialog box for checking incorrect or misspelled (TXTextControl.WPF.TextControl.MisspelledWords) words. The first implementation opens the spell check dialog for checking of the TXSpellChecker.IncorrectWords collection in TX Spell for WPF. To connect the SpellCheckDialog with an object of type TXTextControl.WPF.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-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/showdialogsettings-property/llms-full.txt): Gets or sets an instance of the ShowDialogSettings class to determine the SpellCheckDialog window's start position and owner.
- [SpellCheckDialog.ShowMessageBoxes Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/showmessageboxes-property/llms-full.txt): Gets or sets a value indicating whether the dialog should invoke built-in message boxes that inform the user that the spell checking is completed or that a chosen word is not found in one of the suggestion dictionaries. The default value is true.
- [SpellCheckDialog.SuggestionDictionaryComboBox Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-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-wpf/reference/txtextcontrol-wpf-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-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/startposition-property/llms-full.txt)
- **Next:** [SpellCheckDialog.AcceptButton Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/acceptbutton-property/llms-full.txt)
