TX Spell .NET for WPF

LoadDictionaryDelayed Property

Property|Introduced in 4.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Gets or sets a value indicating whether a dictionary is loaded on adding to the TXSpell.Dictionaries dictionary collection partially or not. If the property is set to true, it is possible to spell check the text while the dictionary is still loading. In this case the spell checking text is slower than checking with completely loaded dictionaries. To get the full speed spell check performance the property needs to be set to false. The default value is false.

Syntax

public bool LoadDictionaryDelayed { get; set; }

Examples

The following example uses DictionaryCollection.LoadDictionaryDelayed to configure load dictionary delayed as part of the dictionary collection workflow. The configured value is checked before the workflow continues.

dictionaryCollection.LoadDictionaryDelayed = true;
if (dictionaryCollection.LoadDictionaryDelayed)
{
    Console.WriteLine("Dictionary Collection: Load Dictionary Delayed is enabled.");
}