DialogButton Constructor
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Initializes a new instance of the DialogButton class.
Syntax
public DialogButton(TXSpell.ButtonType type);Public Sub New(type As TXSpell.ButtonType)Parameters
| Parameter | Description |
|---|---|
| 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;Dim dialogButton As New TXTextControl.WPF.Proofing.DialogButton(TXTextControl.Proofing.TXSpell.ButtonType.AddToDictionary)
dialogButton.Enabled = True