# TXSpellChecker.DictionaryAdded Event

> Occurs when a dictionary was added to the TXSpellChecker.Dictionaries DictionaryCollection. The DictionaryAddedHandler receives an argument of type DictionaryAddedEventArgs containing data related to this event.

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

---

### Description

Occurs when a [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) was added to the [TXSpellChecker.Dictionaries](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/dictionaries-property/llms-full.txt) DictionaryCollection. The DictionaryAddedHandler receives an argument of type [DictionaryAddedEventArgs](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionaryaddedeventargs/llms-full.txt) containing data related to this event.

### Syntax

```csharp
public event DictionaryAddedHandler DictionaryAdded;
```

```vbnet
Public Event DictionaryAdded As DictionaryAddedHandler
```

### Examples

The following example records useful context when dictionary added occurs.

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

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

---

## Nearby

- **Previous:** [TXSpellChecker.DictionariesDirectoryPath Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/dictionariesdirectorypath-property/llms-full.txt)
- **Next:** [TXSpellChecker.DictionaryRemoved Event](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/dictionaryremoved-event/llms-full.txt)
