TX Spell .NET for Windows Forms

UserDictionaryWordRemoved Event

Event|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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;

Examples

The following example records useful context when user dictionary word removed occurs.

tXSpellChecker.UserDictionaryWordRemoved += (sender, e) =>
{
    Console.WriteLine($"Removed Word: {e.RemovedWord}");
};