TX Spell .NET for WPF

DictionaryAdded Event

Event|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public event DictionaryAddedHandler DictionaryAdded;

Examples

The following example records useful context when dictionary added occurs.

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