TX Text Control .NET for Windows Forms

Text Property

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

Description

Gets the text to check. After checking the text, the SpellCheckTextEventArgs.MisspelledWords property must be set to inform the TextControl about the starting and ending positions of all misspelled words this text contains.

Syntax

public string Text { get; }

Examples

The following example uses SpellCheckTextEventArgs.Text while handling SpellCheckText.

textControl.SpellCheckText += (_, e) =>
{
    Console.WriteLine($"Text: {e.Text}");
};

Limitations

Read only.