IsIgnored Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value which marks the misspelled word as ignored. An ignored misspelled word remains in the collection of misspelled words, but it is not underlined in the text with a red zigzag line.
Syntax
public bool IsIgnored { get; set; }Public Property IsIgnored As BooleanExamples
The following example locates the first spelling issue in a short document by using MisspelledWord.IsIgnored.
textControl.Text = "The quaterly report is ready.";
MisspelledWord misspelledWord = textControl.MisspelledWords.GetItem();
if (misspelledWord == null)
{
return;
}
misspelledWord.IsIgnored = true;
misspelledWord.Select();textControl.Text = "The quaterly report is ready."
Dim misspelledWord As MisspelledWord = textControl.MisspelledWords.GetItem()
If misspelledWord Is Nothing Then
Return
End If
misspelledWord.IsIgnored = True
misspelledWord.Select()