IsSpellCheckingEnabled Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets a value indicating whether spell checking is active or not. If spell checking is enabled the WPF.TextControl.SpellCheckText event is raised when the text of a document changes. The event handler can be used to check the text on misspelled words.
Syntax
public bool IsSpellCheckingEnabled { get; set; }Public Property IsSpellCheckingEnabled As BooleanExamples
The following example uses TextControl.IsSpellCheckingEnabled to enable spell checking for document text. The configured value is checked before the workflow continues.
textControl.IsSpellCheckingEnabled = true;
if (textControl.IsSpellCheckingEnabled)
{
Console.WriteLine("Text Control: Is Spell Checking Enabled is enabled.");
}textControl.IsSpellCheckingEnabled = True
If textControl.IsSpellCheckingEnabled Then
Console.WriteLine("Text Control: Is Spell Checking Enabled is enabled.")
End If