DictionaryRemoved Event
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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;Public Event DictionaryRemoved As DictionaryRemovedHandlerExamples
The following example records useful context when dictionary removed occurs.
tXSpellChecker.DictionaryRemoved += (sender, e) =>
{
Console.WriteLine($"Dictionary Removed at {DateTime.Now:u}");
};AddHandler tXSpellChecker.DictionaryRemoved,
Sub(sender, e)
Console.WriteLine($"Dictionary Removed at {DateTime.Now:u}")
End Sub