DictionaryAdded 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 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;Public Event DictionaryAdded As DictionaryAddedHandlerExamples
The following example records useful context when dictionary added occurs.
tXSpellChecker.DictionaryAdded += (sender, e) =>
{
Console.WriteLine($"Dictionary Added at {DateTime.Now:u}");
};AddHandler tXSpellChecker.DictionaryAdded,
Sub(sender, e)
Console.WriteLine($"Dictionary Added at {DateTime.Now:u}")
End Sub