SpellChecker Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Specifies the spell checking component to be used with a TextControl. The property value is null, if there is no spell checking component connected. Otherwise it must be an object of the type TXSpellChecker. When a spell checking component is connected and the IsSpellCheckingEnabled property has been set to true, misspelled words are automatically underlined with a red zigzag line. The SpellCheckDialog method can be used to correct the misspelled words contained in the document. When a spell checking component is connected and the IsHyphenationEnabled property has been set to true, a document is automatically hyphenated. If the IsLanguageDetectionEnabled property has been set to true, a language is automatically detected for all text parts with a neutral language.
Syntax
public Component SpellChecker { get; set; }Public Property SpellChecker As ComponentExamples
The following example uses TextControl.SpellChecker to configure spell checker as part of the text control workflow. The change is then applied to the active document or user interface.
textControl.SpellChecker = new System.ComponentModel.Component();
textControl.Update();textControl.SpellChecker = New System.ComponentModel.Component()
textControl.Update()