# ShowDialogSettings.Owner Property

> Gets or sets the IWin32Window that represents the top-level window that will own the dialog form. The default value is null.

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

---

### Description

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

### Syntax

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

```vbnet
Public Property Owner As IWin32Window
```

### 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 ButtonBar();
if (showDialogSettings.Owner != null)
{
    Console.WriteLine("Show Dialog Settings: Owner is available.");
}
```

```vbnet
showDialogSettings.Owner = New ButtonBar()
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-winforms/reference/txtextcontrol-proofing/showdialogsettings/location-property/llms-full.txt)
- **Next:** [ShowDialogSettings.StartPosition Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/showdialogsettings/startposition-property/llms-full.txt)
