TX Spell .NET for WPF

UserDictionaryWordAddedEventArgs Class

Class|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.dll
Install
dotnet add package TXTextControl.TXSpell.WPF.SDK .NET 8 and later. For .NET Framework, reference TXSpell.dll from the setup.
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll
Inherits
  1. EventArgs
  2. UserDictionaryWordAddedEventArgs

Description

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

Syntax

public sealed class UserDictionaryWordAddedEventArgs : 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.

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

Members

Properties

PropertyDescription
AddedWordGets the word that was added to the UserDictionary.
UserDictionaryGets the UserDictionary where the word was added to.