DictionaryAdded Event
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Occurs when a dictionary was 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