TX Spell .NET for WPF

Location 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

Returns the point that represents the upper-left corner of the SpellCheckDialog window in screen coordinates.

Syntax

public Point? Location { get; }

Examples

The following example includes the location value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Location: {spellCheckDialog.Location}");
Console.WriteLine("Spell Check Dialog is ready for use.");

Limitations

Read only.

Remarks

The property returns null, if the dialog was not shown yet.