Text Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
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; }Public ReadOnly Property Text As StringExamples
The following example uses SpellCheckTextEventArgs.Text while handling SpellCheckText.
textControl.SpellCheckText += (_, e) =>
{
Console.WriteLine($"Text: {e.Text}");
};AddHandler textControl.SpellCheckText,
Sub(sender, e)
Console.WriteLine($"Text: {e.Text}")
End SubLimitations
Read only.