TX Spell .NET for Windows Forms

StartPosition 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

Gets or sets the starting position of the form at run time. The default value is TXSpell.DialogStartPosition.CenterScreen.

Syntax

public TXSpell.DialogStartPosition StartPosition { get; set; }

Examples

The following example uses ShowDialogSettings.StartPosition to configure start position as part of the show dialog settings workflow. The configured value is checked before the workflow continues.

showDialogSettings.StartPosition = TXTextControl.Proofing.TXSpell.DialogStartPosition.Manual;
Console.WriteLine($"Start Position used by Show Dialog Settings: {showDialogSettings.StartPosition}");