TX Spell .NET for Windows Forms

ChangeType 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 how an object of type TXTextControl.MisspelledWord or IncorrectWord is changed by a SpellCheckDialog or spell check menu item click operation. The enumeration contains the following values:

Syntax

public enum TXSpell.ChangeType

Members

MemberValueDescription
Delete0The misspelled word is deleted. If the misspelled word is an object of type IncorrectWord the Start and Length properties of the IncorrectWord are specified to the index and length of the corresponding text that would be removed.
Ignore1The misspelled word is ignored.
Replace2The misspelled word is replaced by another (MisspelledWordChangingEventArgs.CorrectedWord / IncorrectWordChangingEventArgs.CorrectedWord).

Examples

The following example selects the Delete value from the Change Type enumeration and uses it as a documented workflow choice.

TXTextControl.Proofing.TXSpell.ChangeType value = TXTextControl.Proofing.TXSpell.ChangeType.Delete;
Console.WriteLine($"Using Change Type: {value}");