DialogStartPosition Enumeration
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WPF. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WPF. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK 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.DialogStartPositionPublic Enum TXSpell.DialogStartPositionMembers
| Member | Value | Description |
|---|---|---|
| Manual | 0 | The position of the dialog is determined by the ShowDialogSettings.Location property. |
| CenterScreen | 1 | The dialog is centered on the current display. |
| CenterOwner | 4 | The 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}");Dim value As TXTextControl.Proofing.TXSpell.DialogStartPosition = TXTextControl.Proofing.TXSpell.DialogStartPosition.Manual
Console.WriteLine($"Using Dialog Start Position: {value}")