IsSpellCheckingEnabled Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets a value indicating whether spell checking is active or not. If spell checking is enabled either the text is automatically checked with a connected spell checking component or the TextControl.SpellCheckText event is raised when the text of a document changes. The event handler can then be used to check the text on misspelled words. A spell checking component can be connected with the SpellChecker property.
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 change is then applied to the active document or user interface.
textControl.IsSpellCheckingEnabled = true;
textControl.Update();textControl.IsSpellCheckingEnabled = True
textControl.Update()