An instance of the MisspelledWordCollection class contains all misspelled words in the main part of a Text Control document. An instance of this class can be obtained with the TextControl.MisspelledWords, WPF.TextControl.MisspelledWords, HeaderFooter.MisspelledWords or TextFrame.MisspelledWords property. The MisspelledWordCollection class implements the IEnumerable and the ICollection interfaces. Misspelled words are represented through objects of the type MisspelledWord.


public class MisspelledWordCollection : ICollection, IEnumerable
Public Class MisspelledWordCollection
  Implements ICollection
  Implements IEnumerable

Introduced: 16.0.


Method Description
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetCount Returns the number of misspelled words with a special meaning from the collection.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
GetItem Gets a particular item from the collection.
Ignore Changes the text of the specified misspelled word and marks it as ignored.
Remove Removes the specified misspelled word from a Text Control document.


Property Description
Count Gets the number of elements contained in the collection.
Item Gets a misspelled word from the collection.