TX Spell .NET for WPF

ShowDialogSettings Class

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

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 ShowDialogSettings

Examples

The following example creates a Show Dialog Settings instance and configures its start position setting for a document workflow.

TXTextControl.WPF.Proofing.ShowDialogSettings showDialogSettings = new();
showDialogSettings.StartPosition = TXTextControl.Proofing.TXSpell.DialogStartPosition.Manual;

Members

Constructors

ConstructorDescription
ShowDialogSettingsNot described in the reference. public ShowDialogSettings();

Properties

PropertyDescription
LocationDefines the starting location of the dialog if the StartPosition property is set to TXSpell.DialogStartPosition.Manual. The default value is null
OwnerGets or sets the System.Windows.Window that represents the top-level window that will own the dialog form. The default value is null.
StartPositionGets or sets the starting position of the form at run time. The default value is TXSpell.DialogStartPosition.CenterScreen.