TX Spell .NET for WPF

Owner Property

Property|Introduced in 9.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

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

public Window Owner { get; set; }

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.

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