TX Spell .NET for WPF

DialogStartPosition Enumeration

Enumeration
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.dll
Install
dotnet add package TXTextControl.TXSpell.WPF.SDK .NET 8 and later. For .NET Framework, reference TXSpell.dll from the setup.
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Specifies the position that the options or spell check dialog will be shown in when it is opened. The enumeration contains the following values:

Syntax

public enum TXSpell.DialogStartPosition

Members

MemberValueDescription
Manual0The position of the dialog is determined by the ShowDialogSettings.Location property.
CenterScreen1The dialog is centered on the current display.
CenterOwner4The dialog is centered within the bounds of the window that owns it.

Examples

The following example selects the Manual value from the Dialog Start Position enumeration and uses it as a documented workflow choice.

TXTextControl.Proofing.TXSpell.DialogStartPosition value = TXTextControl.Proofing.TXSpell.DialogStartPosition.Manual;
Console.WriteLine($"Using Dialog Start Position: {value}");