UserDictionaryWordAddedEventArgs Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WPF. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WPF. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
- Inherits
- Event
Args - User
Dictionary Word Added Event Args
- Event
Description
The UserDictionaryWordAddedEventArgs class provides data for the UserDictionaryWordAdded event in TX Spell .NET for Windows Forms and WPF.
Syntax
public sealed class UserDictionaryWordAddedEventArgs : EventArgsPublic NotInheritable Class UserDictionaryWordAddedEventArgs
Inherits EventArgsExamples
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.");Console.WriteLine($"User Dictionary: {userDictionaryWordAddedEventArgs.UserDictionary}")
Console.WriteLine("User Dictionary Word Added Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| AddedWord | Gets the word that was added to the UserDictionary. |
| UserDictionary | Gets the UserDictionary where the word was added to. |