# UserDictionaryWordAddedEventArgs Class

> The UserDictionaryWordAddedEventArgs class provides data for the UserDictionaryWordAdded event in TX Spell .NET for Windows Forms and WPF.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.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
- **Inherits:** `System.EventArgs`
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > UserDictionaryWordAddedEventArgs Class
- **550 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/userdictionarywordaddedeventargs/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/userdictionarywordaddedeventargs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/userdictionarywordaddedeventargs/llms-full.txt

---

### Description

The UserDictionaryWordAddedEventArgs class provides data for the UserDictionaryWordAdded event in TX Spell .NET for [Windows Forms](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/userdictionarywordadded-event/llms-full.txt) and [WPF](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/userdictionarywordadded-event/llms-full.txt).

### Syntax

```csharp
public sealed class UserDictionaryWordAddedEventArgs : EventArgs
```

```vbnet
Public NotInheritable Class UserDictionaryWordAddedEventArgs
    Inherits EventArgs
```

### Examples

The following example includes the user dictionary value from an User Dictionary Word Added Event Args object 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.")
```

---

## In This Section

- [UserDictionaryWordAddedEventArgs.AddedWord Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/userdictionarywordaddedeventargs/addedword-property/llms-full.txt): Gets the word that was added to the UserDictionary.
- [UserDictionaryWordAddedEventArgs.UserDictionary Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/userdictionarywordaddedeventargs/userdictionary-property/llms-full.txt): Gets the UserDictionary where the word was added to.

---

## Nearby

- **Previous:** [UserDictionary.ToArray Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/userdictionary/toarray-method/llms-full.txt)
- **Next:** [UserDictionaryWordAddedEventArgs.AddedWord Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/userdictionarywordaddedeventargs/addedword-property/llms-full.txt)
