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

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

Syntax

public Point? Location { get; set; }

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.

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