ButtonType Enumeration
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WPF. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WPF. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Determines the type of a DialogButton (Windows Forms or WPF). The enumeration contains the following values:
Syntax
public enum TXSpell.ButtonTypePublic Enum TXSpell.ButtonTypeMembers
| Member | Value | Description |
|---|---|---|
| AddToDictionary | 0 | Specifies a DialogButton that corresponds to the bahavior of an 'Add To Dictionary' spell check dialog button. |
| Change | 1 | Specifies a DialogButton that corresponds to the bahavior of a 'Change' spell check dialog button. |
| ChangeAll | 2 | Specifies a DialogButton that corresponds to the bahavior of a 'Change All' spell check dialog button. |
| Delete | 3 | Specifies a DialogButton that corresponds to the bahavior of a 'Delete' spell check dialog button. |
| Ignore | 4 | Specifies a DialogButton that corresponds to the bahavior of an 'Ignore Once' spell check dialog button. |
| IgnoreAll | 5 | Specifies a DialogButton that corresponds to the bahavior of an 'Ignore All' spell check dialog button. |
| Options | 6 | Specifies a DialogButton that corresponds to the bahavior of an 'Options...' spell check dialog button. |
| UndoEdit | 7 | Specifies a DialogButton that corresponds to the bahavior of an 'Undo Edit' spell check dialog button. |
| User | 8 | Specifies 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}");Dim value As TXTextControl.Proofing.TXSpell.ButtonType = TXTextControl.Proofing.TXSpell.ButtonType.AddToDictionary
Console.WriteLine($"Using Button Type: {value}")