UserDictionaryWordRemoved Event
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Occurs when a word is removed from a user dictionary. The UserDictionaryWordRemovedHandler receives an argument of type UserDictionaryWordRemovedEventArgs containing data related to this event.
Syntax
public event UserDictionaryWordRemovedHandler UserDictionaryWordRemoved;Public Event UserDictionaryWordRemoved As UserDictionaryWordRemovedHandlerExamples
The following example records useful context when user dictionary word removed occurs.
tXSpellChecker.UserDictionaryWordRemoved += (sender, e) =>
{
Console.WriteLine($"Removed Word: {e.RemovedWord}");
};AddHandler tXSpellChecker.UserDictionaryWordRemoved,
Sub(sender, e)
Console.WriteLine($"Removed Word: {e.RemovedWord}")
End Sub