# TXSpellChecker.UserDictionaryWordRemoved Event

> Occurs when a word is removed from a user dictionary. The UserDictionaryWordRemovedHandler receives an argument of type UserDictionaryWordRemovedEventArgs containing data related to this event.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Event
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.WPF.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.WPF.dll` from the setup
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.WPF.Proofing > TXSpellChecker.UserDictionaryWordRemoved Event
- **356 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/userdictionarywordremoved-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/userdictionarywordremoved-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/userdictionarywordremoved-event/llms-full.txt

---

### Description

Occurs when a word is removed from a [user dictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/userdictionary/llms-full.txt). The UserDictionaryWordRemovedHandler receives an argument of type [UserDictionaryWordRemovedEventArgs](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/userdictionarywordremovedeventargs/llms-full.txt) containing data related to this event.

### Syntax

```csharp
public event UserDictionaryWordRemovedHandler UserDictionaryWordRemoved;
```

```vbnet
Public Event UserDictionaryWordRemoved As UserDictionaryWordRemovedHandler
```

### Examples

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

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

```vbnet
AddHandler tXSpellChecker.UserDictionaryWordRemoved,
    Sub(sender, e)
        Console.WriteLine($"Removed Word: {e.RemovedWord}")
    End Sub
```

---

## Nearby

- **Previous:** [TXSpellChecker.UserDictionaryWordAdded Event](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/userdictionarywordadded-event/llms-full.txt)
