StartPosition Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property StartPosition As TXSpell.DialogStartPositionExamples
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}");showDialogSettings.StartPosition = TXTextControl.Proofing.TXSpell.DialogStartPosition.Manual
Console.WriteLine($"Start Position used by Show Dialog Settings: {showDialogSettings.StartPosition}")