# ShowDialogSettings.Location Property

> Defines the starting location of the dialog if the StartPosition property is set to TXSpell.DialogStartPosition.Manual. The default value is null

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 9.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 > ShowDialogSettings.Location Property
- **489 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/location-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/location-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/location-property/llms-full.txt

---

### Description

Defines the starting location of the dialog if the [StartPosition](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/startposition-property/llms-full.txt) property is set to [TXSpell.DialogStartPosition.Manual](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-dialogstartposition/enumeration/llms-full.txt). The default value is `null`

### Syntax

```csharp
public Point? Location { get; set; }
```

```vbnet
Public Property Location As Point?
```

### Examples

The following example uses `ShowDialogSettings.Location` to configure location as part of the show dialog settings workflow. The configured value is checked before the workflow continues.

```csharp
showDialogSettings.Location = new System.Windows.Point(20, 20);
if (showDialogSettings.Location != null)
{
    Console.WriteLine("Show Dialog Settings: Location is available.");
}
```

```vbnet
showDialogSettings.Location = New System.Windows.Point(20, 20)
If showDialogSettings.Location IsNot Nothing Then
    Console.WriteLine("Show Dialog Settings: Location is available.")
End If
```

---

## Nearby

- **Previous:** [ShowDialogSettings Class](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/llms-full.txt)
- **Next:** [ShowDialogSettings.Owner Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/owner-property/llms-full.txt)
