TX Spell .NET for Windows Forms

Location Property

Property|Introduced in 9.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.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 System.Drawing.Point.Empty

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.Drawing.Point(20, 20);
Console.WriteLine($"Location used by Show Dialog Settings: {showDialogSettings.Location}");