IncorrectWordColor Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the color to colorize the current incorrect or misspelled (TXTextControl.MisspelledWord) word inside the SpellCheckDialog preview component. The default value is System.Drawing.Color.Red.
Syntax
public Color IncorrectWordColor { get; set; }Public Property IncorrectWordColor As ColorExamples
The following example uses Preview.IncorrectWordColor to configure incorrect word color as part of the preview workflow. The configured value is checked before the workflow continues.
preview.IncorrectWordColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Incorrect Word Color used by Preview: {preview.IncorrectWordColor}");preview.IncorrectWordColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Incorrect Word Color used by Preview: {preview.IncorrectWordColor}")