TX Spell .NET for Windows Forms

DictionaryRemoved Event

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

Description

Occurs when a dictionary was 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}");
};