# TXSpellChecker.DictionaryRemoved Event

> Occurs when a dictionary is removed from the TXSpellChecker.Dictionaries DictionaryCollection. The DictionaryRemovedHandler receives an argument of type DictionaryRemovedEventArgs 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.DictionaryRemoved Event
- **371 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionaryremoved-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionaryremoved-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionaryremoved-event/llms-full.txt

---

### Description

Occurs when a [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/dictionary/llms-full.txt) is removed from the [TXSpellChecker.Dictionaries](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionaries-property/llms-full.txt) DictionaryCollection. The DictionaryRemovedHandler receives an argument of type [DictionaryRemovedEventArgs](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/dictionaryremovedeventargs/llms-full.txt) containing data related to this event.

### Syntax

```csharp
public event DictionaryRemovedHandler DictionaryRemoved;
```

```vbnet
Public Event DictionaryRemoved As DictionaryRemovedHandler
```

### Examples

The following example records useful context when dictionary removed occurs.

```csharp
tXSpellChecker.DictionaryRemoved += (sender, e) =>
{
    Console.WriteLine($"Dictionary Removed at {DateTime.Now:u}");
};
```

```vbnet
AddHandler tXSpellChecker.DictionaryRemoved,
    Sub(sender, e)
        Console.WriteLine($"Dictionary Removed at {DateTime.Now:u}")
    End Sub
```

---

## Nearby

- **Previous:** [TXSpellChecker.DictionaryAdded Event](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionaryadded-event/llms-full.txt)
- **Next:** [TXSpellChecker.GetHyphenationPoint Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/gethyphenationpoint-method/llms-full.txt)
