TX Text Control .NET for Windows Forms

IsSpellCheckingEnabled Property

Property|Introduced in 16.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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();