TX Spell .NET for WPF

DialogButton Constructor

Constructor|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.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.WPF.Proofing.DialogButton dialogButton = new(TXTextControl.Proofing.TXSpell.ButtonType.AddToDictionary);
dialogButton.Enabled = true;