# UserDictionaryWordAddedEventArgs.UserDictionary Property

> Gets the UserDictionary where the word was added to.

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

---

### Description

Gets the [UserDictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/userdictionary/llms-full.txt) where the word was [added to](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/userdictionary/addword-method/llms-full.txt).

### Syntax

```csharp
public UserDictionary UserDictionary { get; }
```

```vbnet
Public ReadOnly Property UserDictionary As UserDictionary
```

### Examples

The following example includes the user dictionary value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"User Dictionary: {userDictionaryWordAddedEventArgs.UserDictionary}");
Console.WriteLine("User Dictionary Word Added Event Args is ready for use.");
```

```vbnet
Console.WriteLine($"User Dictionary: {userDictionaryWordAddedEventArgs.UserDictionary}")
Console.WriteLine("User Dictionary Word Added Event Args is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [UserDictionaryWordAddedEventArgs.AddedWord Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/userdictionarywordaddedeventargs/addedword-property/llms-full.txt)
- **Next:** [UserDictionaryWordRemovedEventArgs Class](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/userdictionarywordremovedeventargs/llms-full.txt)
