TX Spell .NET for Windows Forms

DialogButton Constructor

Constructor|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Initializes a new instance of the DialogButton class.

Syntax

public DialogButton(TXSpell.ButtonType type);

Parameters

ParameterDescription
type

Specifies one of the ButtonType values.

Examples

The following example creates a Dialog Button instance and configures its enabled setting for a document workflow.

TXTextControl.Proofing.DialogButton dialogButton = new(TXTextControl.Proofing.TXSpell.ButtonType.AddToDictionary);
dialogButton.Enabled = true;