TXTextControl.Proofing.TXSpell.MenuItemType Enumeration

Determines the type of a menu item (Windows.Forms or WPF). The enumeration contains the following values:

Value Description
AddToDictionary Clicking a MenuItem of type 'AddToDictionary' causes the misspelled word to be added to all editable user dictionaries and removed from the corresponding collection (TXTextControl.MisspelledWordCollection / IncorrectWordCollection).
Delete Clicking a MenuItem of type 'Delete' causes the misspelled word to be removed from the corresponding collection (TXTextControl.MisspelledWordCollection / IncorrectWordCollection). If the misspelled word is an object of type TXTextControl.MisspelledWord, it is removed from the TXTextControl.TextControl text.
IgnoreAll Clicking a MenuItem of type 'IgnoreAll' causes all misspelled words, that have the same text like the current misspelled word, to be ignored. If the misspelled word is an object of type TXTextControl.MisspelledWord (TX Text Control version X8 and higher), the IsIgnored property of all similar misspelled words is set to true. If the TX Text Control version is 17.0 or the misspelled word is an object of type IncorrectWord, all ignorable words are removed from the corresponding collection.
IgnoreOnce Clicking a MenuItem of type 'IgnoreOnce' causes the misspelled word to be ignored. If the word is an object of type TXTextControl.MisspelledWord (TX Text Control version X8 and higher), its IsIgnored property is set to true. If the TX Text Control version is 17.0 or the misspelled word is an object of type IncorrectWord, the word is removed from the corresponding collection.
NoSuggestions Clicking a MenuItem of type NoSuggestionsNoSuggestions raises the Proofing.TXSpellChecker.MenuItemClicked event. No collection will be changed.
Suggestion Clicking a MenuItem of type 'Suggestion' causes the misspelled word to be replaced with a another word. That suggested word will be represented by the MenuItem.Text property or the CorrectedWord property of the MisspelledWordChangingEventArgs (for TXTextControl.MisspelledWord) / IncorrectWordChangingEventArgs (for IncorrectWord). If the misspelled word is an object of type TXTextControl.MisspelledWord, it is replaced with the suggested word inside TXTextControl.TextControl. If the misspelled word is an object of type IncorrectWord, the word is removed from the corresponding collection