MisspelledWords Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets a collection of all misspelled words contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type MisspelledWordCollection.
Syntax
public MisspelledWordCollection MisspelledWords { get; }Public ReadOnly Property MisspelledWords As MisspelledWordCollectionExamples
The following example iterates through the misspelled words collection and processes each misspelled word.
foreach (MisspelledWord misspelledWord in textControl.MisspelledWords)
{
Console.WriteLine(misspelledWord.IsDuplicate);
}For Each misspelledWord As MisspelledWord In textControl.MisspelledWords
Console.WriteLine(misspelledWord.IsDuplicate)
NextLimitations
Read only.