TX Spell .NET for WPF

DictionaryRemoved 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 removed from the TXSpellChecker.Dictionaries DictionaryCollection. The DictionaryRemovedHandler receives an argument of type DictionaryRemovedEventArgs containing data related to this event.

Syntax

public event DictionaryRemovedHandler DictionaryRemoved;

Examples

The following example records useful context when dictionary removed occurs.

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