Version

UnderlineSpellingErrorStyle Property

Gets or sets the way misspelled words will be underlined in their editors.
Syntax
'Declaration
 
Public Property UnderlineSpellingErrorStyle As UnderlineErrorsStyle
public UnderlineErrorsStyle UnderlineSpellingErrorStyle {get; set;}
Example
This sample shows how to change the appearance of spelling errors when a control is being spell checked as you type.

Imports Infragistics.Win.UltraWinSpellChecker

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

	'Change the color under spell errors to be blue
	Me.spellChecker.UnderlineSpellingErrorColor = Color.Blue

	'Change the style of spelling errors to be double underlines.
	Me.spellChecker.UnderlineSpellingErrorStyle = UnderlineErrorsStyle.DoubleLine

End Sub
using System.Windows.Forms;
using Infragistics.Win.UltraWinSpellChecker;

private void Form1_Load( object sender, EventArgs e )
{
	//Change the color under spell errors to be blue
	this.spellChecker.UnderlineSpellingErrorColor = Color.Blue;
		
	//Change the style of spelling errors to be double underlines.
	this.spellChecker.UnderlineSpellingErrorStyle = UnderlineErrorsStyle.DoubleLine;
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also