MisspelledWordKind Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.dll
Description
Specifies the kind of a misspelled word. It is used to get misspelled words of a special kind from the TextControl.MisspelledWords collection. Special kinds of misspelled words are words which are marked as ignored or as duplicate. The enumeration contains the following values:
Syntax
[]
public enum MisspelledWordKind<Flags>
Public Enum MisspelledWordKindMembers
| Member | Value | Description |
|---|---|---|
| All | 7 | Specifies all misspelled words. |
| Duplicate | 4 | Specifies all misspelled words which are marked as duplicate. |
| Ignored | 2 | Specifies all misspelled words which are marked as ignored. |
| Normal | 1 | Specifies all misspelled words which do not have a special meaning. |
Examples
The following example selects the Normal value from the Misspelled Word Kind enumeration and uses it as a documented workflow choice.
MisspelledWordKind value = MisspelledWordKind.Normal;
Console.WriteLine($"Using Misspelled Word Kind: {value}");Dim value As MisspelledWordKind = MisspelledWordKind.Normal
Console.WriteLine($"Using Misspelled Word Kind: {value}")See Also
MisspelledWordCollection.GetItem Method.