TXTextControl.Proofing.SpellingCorrectionUIProvider.CorrectionHandler.AddToDictionary Method

Adds the text of the current word to correct to all user dictionaries of the current dictionary collection where the IsEditable property is set to true and the language property corresponds to the TXTextControl.MisspelledWord.Culture or incorrect word's language property. Furthermore the word is removed from all corresponding collections (TXTextControl.MisspelledWordCollection/ IncorrectWordCollection).

Syntax

[C#]
public void AddToDictionary();
[Visual Basic]
Public Sub AddToDictionary()

Remarks

This method is only enabled if appropriated user dictionaries are available and the SpellingCorrectionUIProvider's mode is set to SuggestionsCreated or NoSuggestionsCreated.