ShowDialogSettings Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WinForms. SDK
- Assembly
TXSpell.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WinForms. SDK TXSpell.from the setup.Windows. Forms. dll
Description
The ShowDialogSettings class provides the possibility to determine the start position and the owner of the built-in options or spell check dialog. To specify these settings for the spell check dialog, the TXSpellChecker.SpellChecker.ShowDialogSettings property is provided. The options dialog can be modified by setting an instance of the ShowDialogSettings class as a parameter to the OptionsDialog method.
Syntax
public class ShowDialogSettingsPublic Class ShowDialogSettingsExamples
The following example creates a Show Dialog Settings instance and configures its start position setting for a document workflow.
TXTextControl.Proofing.ShowDialogSettings showDialogSettings = new();
showDialogSettings.StartPosition = TXTextControl.Proofing.TXSpell.DialogStartPosition.Manual;Dim showDialogSettings As New TXTextControl.Proofing.ShowDialogSettings()
showDialogSettings.StartPosition = TXTextControl.Proofing.TXSpell.DialogStartPosition.ManualMembers
Constructors
| Constructor | Description |
|---|---|
| ShowDialogSettings | Not described in the reference. public ShowDialogSettings(); |
Properties
| Property | Description |
|---|---|
| Location | 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 |
| Owner | Gets or sets the IWin32Window that represents the top-level window that will own the dialog form. The default value is null. |
| StartPosition | Gets or sets the starting position of the form at run time. The default value is TXSpell.DialogStartPosition.CenterScreen. |