# ShowDialogSettings Class

> The ShowDialogSettings class provides the possibility to determine the start position and the owner of the built-in options or spell check dialog. To specify these settings for the spell check dialog, the TXSpellChecker.SpellChecker.ShowDialogSettings property is provided. The options dialog can be modified by setting an instance of the ShowDialogSettings class as a parameter to the OptionsDialog method.

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

---

### Description

The ShowDialogSettings class provides the possibility to determine the start position and the owner of the built-in [options](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/optionsdialog-method/llms-full.txt) or [spell check dialog](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/spellcheckdialog-property/llms-full.txt). To specify these settings for the spell check dialog, the [TXSpellChecker.SpellChecker.ShowDialogSettings](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/showdialogsettings-property/llms-full.txt) property is provided. The options dialog can be modified by setting an instance of the ShowDialogSettings class as a parameter to the OptionsDialog method.

### Syntax

```csharp
public class ShowDialogSettings
```

```vbnet
Public Class ShowDialogSettings
```

### Examples

The following example creates a Show Dialog Settings instance and configures its start position setting for a document workflow.

```csharp
TXTextControl.Proofing.ShowDialogSettings showDialogSettings = new();
showDialogSettings.StartPosition = TXTextControl.Proofing.TXSpell.DialogStartPosition.Manual;
```

```vbnet
Dim showDialogSettings As New TXTextControl.Proofing.ShowDialogSettings()
showDialogSettings.StartPosition = TXTextControl.Proofing.TXSpell.DialogStartPosition.Manual
```

---

## In This Section

- [ShowDialogSettings.Location Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/showdialogsettings/location-property/llms-full.txt): Defines the starting location of the dialog if the StartPosition property is set to TXSpell.DialogStartPosition.Manual. The default value is System.Drawing.Point.Empty
- [ShowDialogSettings.Owner Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/showdialogsettings/owner-property/llms-full.txt): Gets or sets the IWin32Window that represents the top-level window that will own the dialog form. The default value is null.
- [ShowDialogSettings.StartPosition Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/showdialogsettings/startposition-property/llms-full.txt): Gets or sets the starting position of the form at run time. The default value is TXSpell.DialogStartPosition.CenterScreen.

---

## Nearby

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