TX Spell .NET for Windows Forms

ButtonType Enumeration

Enumeration
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.dll
Install
dotnet add package TXTextControl.TXSpell.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXSpell.dll from the setup.
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Determines the type of a DialogButton (Windows Forms or WPF). The enumeration contains the following values:

Syntax

public enum TXSpell.ButtonType

Members

MemberValueDescription
AddToDictionary0Specifies a DialogButton that corresponds to the bahavior of an 'Add To Dictionary' spell check dialog button.
Change1Specifies a DialogButton that corresponds to the bahavior of a 'Change' spell check dialog button.
ChangeAll2Specifies a DialogButton that corresponds to the bahavior of a 'Change All' spell check dialog button.
Delete3Specifies a DialogButton that corresponds to the bahavior of a 'Delete' spell check dialog button.
Ignore4Specifies a DialogButton that corresponds to the bahavior of an 'Ignore Once' spell check dialog button.
IgnoreAll5Specifies a DialogButton that corresponds to the bahavior of an 'Ignore All' spell check dialog button.
Options6Specifies a DialogButton that corresponds to the bahavior of an 'Options...' spell check dialog button.
UndoEdit7Specifies a DialogButton that corresponds to the bahavior of an 'Undo Edit' spell check dialog button.
User8Specifies a DialogButton that corresponds to a user defined bahavior.

Examples

The following example selects the Add To Dictionary value from the Button Type enumeration and uses it as a documented workflow choice.

TXTextControl.Proofing.TXSpell.ButtonType value = TXTextControl.Proofing.TXSpell.ButtonType.AddToDictionary;
Console.WriteLine($"Using Button Type: {value}");