# ShowDialogSettings.Owner Property

> Gets or sets the System.Windows.Window that represents the top-level window that will own the dialog form. 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.Owner Property
- **411 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/owner-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/owner-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/showdialogsettings/owner-property/llms-full.txt

---

### Description

Gets or sets the `System.Windows.Window` that represents the top-level window that will own the dialog form. The default value is null.

### Syntax

```csharp
public Window Owner { get; set; }
```

```vbnet
Public Property Owner As Window
```

### Examples

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

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

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

---

## Nearby

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